Skip to content

Conversation

vsandvold
Copy link
Contributor

This PR adds button type attributes to Affix buttons, specifically type="submit" for search, and type="reset" for clear. This prevents the clear button from submitting the enclosing form of the textfield.

I believe this code could be improved by extracting a separate ButtonAffix component as suggested in #76 .

@benja benja merged commit 3b6fade into fabric-ds:main Jan 17, 2022
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