Skip to content
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

Better support for readonly attribute for selectOne and date view types #225

Open
chrisala opened this issue Jan 12, 2024 · 0 comments
Open

Comments

@chrisala
Copy link
Collaborator

Currently readonly/computed applies the readonly to the select rendered by selectOne.
The HTML readonly attribute isn't supported by select and the advice is to use disabled instead. However this prevents validation from working correctly, which you might want if the computed value needs to be validated somehow.

Similarly, the input field and button rendered for a date data type doesn't support the readonly attribute well - it still allows clicks and date selections.

salomon-j added a commit that referenced this issue Jan 14, 2024
Implemented readonly support for date and selectOne types #225
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant