Macro photography in Moki

How to show multiple defaults in a dropdown with multiple choices. Suppose there are few students in the scenario who choose chemistry as an optional subject. After some time I need to add more, also I can see who has already selected the topic.

<default-field title="subject">
    <drop-down allow-empty="false" allow-multiple="true" >
        <list-options list="students" text="${student}"/>
    </drop-down>
</default-field>

      

This code always shows all students in the dropdown. I want to display multiple selected students that have already been selected.

It's like updating a list. How can I do this efficiently.

+3


source to share


1 answer


If you only want to include limited items in the dropdown, just copy the list with actions in advance (in your code example, the list of "students").



0


source







All Articles