-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SetEnabled does not disable button #24
Comments
Hi, which version of Vaadin & EasyUploads are you using? |
For me disabling works just fine, but cannot re-enable the field. |
Oh yeah sorry. Vaadin version 7.7.1 and easyuploads version 7.4.10
Same here: The first state it is set to does not change anymore (enabled or disabled) |
Looks like this is some sort of core Vaadin issue. Rather critical IMO. The test I created now contains an example how to reproduce it with plain Vaadin as well. For some reason the disabled/enabled state from parent does not propagate properly. |
It seems to me that it is only the case of CssLayout. In the same form I have a vertical layout where his works just fine. |
Although there I am using just Textboxes. |
For me it is reproducable with both CssLayout and VerticalLayout. |
With the UploadField element or with plain TextBoxes? |
I can only reproduce this with UploadField or Upload, not with TextField. Probably the issue is in the client side implementation of Upload component. Luckily there is an additional server side check, so that this don't cause security issue, not just a nasty bug. |
I created a core FM bug report for this: |
Thanks |
I have a Textbox that should be filled before the upload should be enabled:
When I call
setEnabled(false)
on the UploadField it is not disabled. The CSSLayout is set to disabled but not the button itself. (Which I would assume would happen if the button is inside the CSSLayout).The text was updated successfully, but these errors were encountered: