14 May 2009 7:59 AM #1
[2.0-m1] FileUploadField readonly does not affect button
When marking a FileUploadField readonly, the text field it uses for the path is marked readonly, but the button can still be clicked.
- Create the field, and add it to the page:Code:
FileUploadField field = new FileUploadField(); field.setReadOnly(true); formPanel.add(field);
- Click the 'Browse...' button
Actual behavior: file window
- Create the field, and add it to the page: