OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce ID is not saving but the full name is inserting in database

This topic contains 4 replies, has 2 voices, and was last updated by  saikatcdac 4 years, 3 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #41132

    saikatcdac
    Participant

    When i am trying to save contact from contact drop down list then the full name of the contact is inserting into the database instead of ID. Please do help. Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #41155

    Andrey Yatsenko
    Moderator

    Make sure that in a rendered HTML of the select options values are entity identifiers. If so, then the issue could be in some data transformers, otherwise, something is wrong in a twig template for the form field.

    #41163

    saikatcdac
    Participant

    Hi Andrey,

    Thanks for your reply. Will you please elaborate this in a simple form/manner actually i am new to Oro as well as in Symfony.

    Sorry for the pain.

    #41165

    Andrey Yatsenko
    Moderator

    When opening the page in a browser, you could check the source HTML to find the generated HTML of the select element with options.

    #41189

    saikatcdac
    Participant

    Thanks Andrey,

    Here is the generated HTML of the select tag

    and the twig code in update.html.twig

Viewing 4 replies - 1 through 4 (of 4 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top