Skip to content

Should the <sp-textfield> elements reset in a form? #3861

Answered by Westbrook
peschee asked this question in Q&A
Discussion options

You must be logged in to vote

<sp-textfield> and other SWC form elements are not currently form associated , so you cannot expect the reset button to have an effect on them. If you were interested in this functionality, we'd be happy to accept and issue or a contributions, were you so inclined. @blunteshwar recently added support for the name attribute, which is a first step along this process, so he might be able to support any contribution you were interested in preparing.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@peschee
Comment options

@Westbrook
Comment options

Answer selected by peschee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants