]
Tan Pham Dinh resolved GTNPORTAL-557.
-------------------------------------
Fix Version/s: 3.0.0-CR01
Resolution: Done
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
Assignee: Tan Pham Dinh
Fix For: 3.0.0-CR01
Original Estimate: 4 hours
Remaining Estimate: 4 hours
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: