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

feat(RisAutoComplete): implement clear button #82

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

MasterCarl
Copy link
Member

This PR adds a clear button to the RisAutoComplete component, clearing both input text and the selected value, if any.
To harmonize styling, most Tailwind classes have been moved from the text input to the root component. The root component now uses flex, which removes the need for absolute positioning for the right-hand side buttons.

A RisGhostButton component has been added to collect specific styles for buttons that appear within other elements that may themselves get focus.

@MasterCarl MasterCarl requested a review from hamo225 November 29, 2024 10:37
@MasterCarl MasterCarl merged commit b1e9ad3 into main Dec 2, 2024
5 checks passed
@MasterCarl MasterCarl deleted the feature/autocomplete-clear branch December 2, 2024 10:33
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

Successfully merging this pull request may close these issues.

2 participants