1.
I added a select2multichoice in a form and after form processing, if one of fields validation fails display values of select2multichoice is lost although on getValue() the values are in.
onError I just refresh components as they have custom behaviour if validation fails. Is it a good way to handle each field validation?
Also placeholder text is lost. this doesn't happen for singlechoice component.
I initialize component like this:
language = new Select2MultiChoice<LanguageCODE>("language", new CollectionModel<LanguageCODE>(), new Select2LanguageCodeProvider(..));
2.Select2 generates a div for displaying and hande logic. May I get the wrapper's div markup id from code.
Thanks.