]
Hoang Hung updated GTNPORTAL-557:
---------------------------------
Affects Version/s: 3.0.0-Beta05
Reset value in Multi value selectbox when submit
------------------------------------------------
Key: GTNPORTAL-557
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-557
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-Beta05
Reporter: Hoang Hung
When I submit form:
1. input Name (with MandatoryValidator): No input
2. multi value select box: I choose 2 value
3. Click submit form.
4.===> Popup Warning Message.
5.Close popup, my selected valued in selectbox is reset
Because of this:
In UIForm.js:
UIForm.prototype.serializeForm:
case "select-multiple":
while (element.selectedIndex != -1) {
this.addField(element.name, element.options[element.selectedIndex].value);
element.options[element.selectedIndex].selected = false;
}
break;
==> Should keep selected value
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: