Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
javascript
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Sep 2010 at 15:04 UTC
Updated:
8 Sep 2010 at 12:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
jcnventuraI did some work on it... It didn't solve the problem and thinking about it, this is really a problem of the 'readonly' attribute not being properly supported by the browsers (see #900590: Support for the readonly/readwrite attribute).
If we're marking it disabled, then it really should be disabled, and we're not interested in the value of that field. To grey it so that it can't be changed, but still receive its value on form submission is what the readonly attribute is designed for.
Anyway, here is the patch I was working on, as it may prove useful for something..
Comment #2
damien tournoud commentedIf a field is disabled, by definition you don't care about its value.