ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Open-Source CRM software Forums OroPlatform OroPlatform – How do I? Questions multiselect – how to format selected value

This topic contains 1 reply, has 1 voice, and was last updated by  jakabadambalazs 2 years, 1 month ago.

  • Creator
    Topic
  • #8654

    jakabadambalazs
    Participant

    Hi,

    I have created a generic form type EntityMultiSelectType based on oro_jqueryselect2_hidden which serves the purpose to be able to select multiple entities of a give type (based of search handlers). It works decently.

    When I use it to select users, I am able to modify/adjust the “result_template” with the _ template style, so in the dropdown selection the output is ok, but as soon as an item is selected it seems that the “select_template” is not taken into consideration.

    This is how I implement the form type:

    When I click on the field the dropdown correcly shows the “fullName” of the users but as soon as I select one it changes to the combined values of “username”+”fullName”+”email” – and I cannot seem to be able to format it.

    Do you have any ideas?
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #8655

    jakabadambalazs
    Participant

    Please ignore me! I have just found “oro_user_multiselect” form type 😉


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.