Jul
10 Jan 2010, 1:49 PM
Setting editable to false in a ComboBox somehow appears to set readOnly to true. Looking at the svn history, I believe this change was made to the source around revision 5623.
To replicate, use any example with a ComboBox and set editable to false.
What happens? The text area doesn't allow input and the trigger field becomes unresponsive.
What should happen? The text area should disallow input. The trigger field should remain active.
I think the problem is in TriggerField.js. Look at line 131 in the source. I could be wrong, but it seems like it's setting the readOnly flag there to true if editable is set to false. That can't be right.
Let me know if you need any further information.
- Jul
To replicate, use any example with a ComboBox and set editable to false.
What happens? The text area doesn't allow input and the trigger field becomes unresponsive.
What should happen? The text area should disallow input. The trigger field should remain active.
I think the problem is in TriggerField.js. Look at line 131 in the source. I could be wrong, but it seems like it's setting the readOnly flag there to true if editable is set to false. That can't be right.
Let me know if you need any further information.
- Jul