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

Selected values can be removed even if enabled = false #173

Open
bartvanandel opened this issue Nov 25, 2024 · 0 comments · May be fixed by #178
Open

Selected values can be removed even if enabled = false #173

bartvanandel opened this issue Nov 25, 2024 · 0 comments · May be fixed by #178
Assignees
Labels
bug Something isn't working

Comments

@bartvanandel
Copy link

I'd expect the widget to be read-only when enabled is set to false. Indeed, the popup won't open, however, the value can still be altered by clicking the X icon in either the chips (to remove individual values) or the entire input (to clear it). I suppose this is not intended behavior?

If it is intended behavior, I'd like to see a readOnly property, which would:
a) disable the popup (like enabled = false does)
b) hide the X icon (or custom delete icon) in the chips, or at least disable its tap handler
c) hide the X icon for the entire input

Is this something you'd be willing to implement or accept a PR for?

@oi-narendra oi-narendra self-assigned this Dec 8, 2024
@oi-narendra oi-narendra added the bug Something isn't working label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment