[opencms-dev] MultiSelectWidget issue

Andreas Zahner a.zahner at alkacon.com
Tue Jan 26 15:42:18 CET 2021


Hi,


values of select options should not contain some special characters 
(like a comma), only letters, digits, periods, underscores or hyphens.


To make your widget work, specify a value for each option like this:


AB:Alberta|ON:Ontario|BC:Richmond, BC|


Kind regards,
Andreas

-------------------
Andreas Zahner

Alkacon Software - TheOpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/> -http://www.opencms.org 
<http://www.opencms.org/>


Am 25.01.21 um 17:50 schrieb Idriss Naji:
> Hello,
>
> We are facing an issue related to MultiSelectWidget, in OpenCms 10.5
>
> *Steps to reproduce:*
> we are having a list of values dedicated for the MultiSelectWidget, 
> and in one of the entries we are using a string that contains a comma 
> (,) like this:
>
>     Alberta|Ontario|Richmond, BC|\
>
>   * We checked this entry "Richmond, BC" in the list of values shown
>     in OpenCms, then we save and exit.
>   * We try to edit the resource a second time, using "Edit
>     controlcode" and it appears that the value is selected, but when
>     we try to edit it using the normal "Edit" it appears*unchecked*in
>     the MultiSelectWidget.
>
>
> Could you please help with this?
>
> Regards,
> Idriss
>
>
>             *Idriss Naji*
>             Backend Developer
>
>             *Virtual Identity* AG
>             Grünwälderstraße 10-14
>             79098 Freiburg
>
>
>
>
>             idriss.naji at virtual-identity.com
>             http://www.virtual-identity.com
>             <http://www.virtual-identity.com>
>
>             Freiburg | München | Wien | Porto
>
>             ------------------------------------------------------------------------
>
>             Virtual Identity AG
>             Grünwälderstraße 10-14
>             79098 Freiburg
>             Amtsgericht Freiburg, HRB 6218
>             Vorstand: Ralf Heller
>             Vorsitzende des Aufsichtsrates: Kirsten Heller
>             Umsatzsteuer-ID: DE208002218
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://webmail.opencms.org/pipermail/opencms-dev/attachments/20210126/8a56c8a8/attachment.htm>


More information about the opencms-dev mailing list