AnsweredAssumed Answered

avoid repeating the same value on multi valued property

Question asked by anusk on May 25, 2011
Hi all,

I have the model with a property that refered a constraint. This property is set to multivalue:


<property name="my:myProperty">
               <type>d:text</type>
               <mandatory>true</mandatory>
               <multiple>true</multiple>
               <constraints>
                  <constraint ref="my:myConstraint"/>
               </constraints>
</property>

when I go to the dialog of edit content properties, appear the values of the constraint on a combo, and the Add button to add the selected value.
The problem I'm facing is that I can add the same value multiple times.

How can avoid this behavior and just add the value once?


Regards,
Ana

Outcomes