haattila
22 Jan 2008, 5:51 AM
Hi!
I try to use some forms fields functionality.
Checkbox and radio components don't react to readonly attribute. I think it is because rendered with readonly attribute of input HTML tag. It would be nice to have readonly capability for these components also.
Also on date and time field I have some strange functionality about readonly attribute. Base field for date and time is readonly but button rendered by that input tag is still active. In readonly mode this behevior unnessesery. If i choose some date or time in this mode from popup dialog or drop down list i change field. This is sure what I don't want to see with readonly.
With disabled attribute I don't have any problem. Everything rendered and work OK.
I attached my test code.
I try to use some forms fields functionality.
Checkbox and radio components don't react to readonly attribute. I think it is because rendered with readonly attribute of input HTML tag. It would be nice to have readonly capability for these components also.
Also on date and time field I have some strange functionality about readonly attribute. Base field for date and time is readonly but button rendered by that input tag is still active. In readonly mode this behevior unnessesery. If i choose some date or time in this mode from popup dialog or drop down list i change field. This is sure what I don't want to see with readonly.
With disabled attribute I don't have any problem. Everything rendered and work OK.
I attached my test code.