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

Show clear widget on prefilled state #108

Merged
merged 2 commits into from
Mar 22, 2024
Merged

Conversation

jlw
Copy link
Contributor

@jlw jlw commented Mar 14, 2024

When I pushed up #92 I had not yet added any tests over the functionality, and so during the refactoring one bit of functionality was lost without being noticed. When I load an edit form where a combobox field already has a value, I expect to see the clear handle instead of the open handle. This adds the simplest test scenario and corresponding fix that I could think of.

@jlw jlw force-pushed the prefilled-clear branch from 6fbd9bc to b1f9745 Compare March 15, 2024 16:47
@josefarias josefarias added the bug Something isn't working label Mar 22, 2024
@josefarias
Copy link
Owner

Great catch, and an elegant solution + test. Love to see it! Thanks!

@josefarias josefarias merged commit cf38af8 into josefarias:main Mar 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants