User tests: Successful: Unsuccessful:
Steps to reproduce the issue
1) Use a form with an GroupedList field.
2) Select some items and save the form
3) Put the attribute readonly of the field by code or by the manifest of the form.
4) Reopen the form
5) See the source code
6) You can see some inputs hidden with the name of the GroupedList field
Suggested solution
I find that a simple solution would be to set the disabled attrubute of the GroupedList when the readonly attribute is set (like the list field) remove the hidden controls and leave the name attribute on the GroupedList input
Labels |
Added:
?
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-02-24 17:19:59 |
In my case is ok because I don't need to submit the form but if the form need to be submit the values of the GroupedList field are not submit because the disabled attribute is set
I closed the PR