Release 1.1.0 `disabled` mode breaks `readonly` functionality.
See original GitHub issueSince the release of the disabled
prop in 1.1.0
we’ve encountered the follow issues:
:disabled="true"
means that a user can not edit OR select the text (Allowing the user to select and copy text is a requirement for us.)- Passing
readonly: 1
intoinit()
no longer works as expected (the user cannot edit BUT should be able to select/copy content)
For now, we reverted to 1.0.8 since 1.1.0 is unusable.
What are the possible solutions?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Can HTML checkboxes be set to readonly? - Stack Overflow
READONLY doesn't work on checkboxes as it prevents you from editing a field's value ... This way, when the checkbox is set to...
Read more >Azure PowerShell release notes - Microsoft Learn
Learn about all of the latest updates to the Azure PowerShell modules.
Read more >ASP.NET 2.0 ReadOnly behavior change when ... - Rick Strahl
It seems to me that if you disable viewstate it should not populate the controls value on the postback. Does'nt load viewstate run...
Read more >Releases - Radix UI
Radix Primitives releases and their changelogs. ... 1.1.0. Add disabled prop to RadioGroup.Root – #1530 ... [Breaking] Remove readOnly prop – #600 ...
Read more >HTML attribute: readonly - HTML: HyperText Markup Language
The difference between disabled and readonly is that read-only controls can still function and are still focusable, whereas disabled ...
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 FreeTop 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
Top GitHub Comments
That
readonly: 1
gets a different result thanreadonly: true
has to be a bug in tinymce. 🤔No this should be fixed in tinymce, the fact that a number get’s a different result is not how it should be.