The `disabled` property is not working.
See original GitHub issueThe dcc.Upload
could be disabled by setting the property disabled=True
. The source codes show that du.Upload
provides a property disabledClass
(see here). However, currently du.Upload
does not support disabled
argument, which makes disabledClass
useless.
I am working with this extension for building my own project now. I wonder if the author is interested in fixing this problem. If not, I could start a pull request for it.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
HTML input "disabled" attribute not working in Bootstrap modals
The problem is, my browser (Chrome) is not reflecting the disabled attribute for any form element within the modal dialog.
Read more >Topic: disabled attribute not working? / sciter
I'm using a custom checkbox with it's attribute disabled, but it does not act like a disabled input (you can still check and...
Read more >HTML disabled Attribute - W3Schools
The disabled attribute is a boolean attribute. When present, it specifies that the element should be disabled. A disabled element is unusable. The...
Read more >HTML attribute: disabled - HTML: HyperText Markup Language
The Boolean disabled attribute, when present, makes the element not mutable, focusable, or even submitted with the form.
Read more >Input Disabled HTML Attribute Explained For Inexperienced ...
If a field is disabled , the value of the field is not sent to the server when the form is submitted. If...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you! I will try to implement this feature. Once I finish it, I will start a PR. It is a good change for me to learn how to develop a customized dash component 😏.
The fixes are added in the
dev
branch.It seems like a good idea. Also there might be need for additional parameter like
text_disabled
which could be a string that is shown instead of thetext
that is there normally. That could then be something like “Please, enter valid dataset name”.