Re: add Dropdown object to List

2021-09-28 Thread vahid ghasemi
Can I limit the users' choice number in ListMultipleChoice? On Mon, Sep 27, 2021 at 9:41 AM Martin Grigorov wrote: > Hi, > > On Sun, Sep 26, 2021 at 9:12 PM vahid ghasemi > wrote: > > > So it's not any option to handle this issue? > > I have list but it's singleton list :( > > > > You need to

Re: add Dropdown object to List

2021-09-28 Thread Martin Terra
I'd recommend: Keep it simple, implement using dropdownchoice and simply convert to a list in your selection model if you need a list for domain model purposes (I cannot comprehend why you would use a list to represent a single selection). ** Martin ti 28. syysk. 2021 klo 10.57 vahid ghasemi

Re: add Dropdown object to List

2021-09-28 Thread Martin Grigorov
On Tue, Sep 28, 2021 at 10:57 AM vahid ghasemi wrote: > Can I limit the users' choice number in ListMultipleChoice? > You could use a validator for this formComponent.add(new IValidator() {...}); > > On Mon, Sep 27, 2021 at 9:41 AM Martin Grigorov > wrote: > > > Hi, > > > > On Sun, Sep 26,