Closed (fixed)
Project:
Conditional Fields
Version:
7.x-3.x-dev
Component:
Javascript
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
29 Aug 2011 at 08:12 UTC
Updated:
12 Sep 2011 at 15:21 UTC
At the moment, the JS tries to set disabled attribute on outer DIV, not the form element itself. With finding the children HTML form element, i could make it work (again?).
| Comment | File | Size | Author |
|---|---|---|---|
| conditional_fields_disable_fail.patch | 559 bytes | aron novak |
Comments
Comment #1
peterpoe commentedCommitted with three changes:
1. I inverted the order of the selection, so the state will continue to work when it's applied directly to the form element:
2. Removed the useless
.filter('form-element')and filed a bug about it: #1263302: States API disabled state handler filters out nonexistent class "form-element" and doesn't disable certain form element types3. Fixed the "required" and "checked" states too, which also stopped working recently.
Thanks!