Bug #1781

Selector widget JS: disabled state not honoured

Added by Giacomo Sanchietti over 6 years ago. Updated almost 6 years ago.

Status:CLOSEDStart date:03/22/2013
Priority:NormalDue date:03/22/2013
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:v1.5.0
Security class: Resolution:
Affected version:v6.4-alpha2 NEEDINFO:

Description

When a field is inside a selector, the field value is sent to the server even if the field is currently disabled.
This behavior can cause validation errors on unwanted values.


Related issues

Related to Nethgui - Bug #1539: FieldsetSwitch widget: nested controls are not disabled CLOSED 11/05/2012 11/05/2012

Associated revisions

Revision 0ac8303f
Added by Giacomo Sanchietti over 6 years ago

jquery.nethgui.selector.js: do not send value when field is disabled. Refs #1781

History

#1 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from NEW to MODIFIED

Fixed.

#2 Updated by Davide Principi over 6 years ago

  • Subject changed from Javascript selector send disabled field value to Selector widget JS: disabled state not honoured
  • Due date set to 03/22/2013
  • Start date set to 03/22/2013
  • % Done changed from 0 to 100

#3 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to CLOSED

#4 Updated by Davide Principi almost 6 years ago

  • Target version deleted (v6.4-beta1)

Also available in: Atom PDF