OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums 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 9 years, 2 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
  • #35922

    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
  • #35923

    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)

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top