-
Notifications
You must be signed in to change notification settings - Fork 14
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(chip field): add member on blur #408
Conversation
Run & review this pull request in StackBlitz Codeflow. |
…tributes object that spreads the observed attributes
…thub.com/tyler-technologies-oss/forge into origin/feat/chip-field-add-value-on-blur
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the change here overall but addMemberOnBlur
feels unnecessarily wordy to me. How about changing it to add-on-blur
or update-on-blur
? If another component needs similar behavior in the future it might be smart to give it a portable name
…r` and `add-on-blur` respectively
🚀 PR was released in |
PR Checklist
Please check if your PR fulfills the following requirements:
Describe the new behavior?
Added a new property/attribute (
addMemberOnBlur
) to the chip-field that modifies the default behavior ofonBlur()
. By default, if you type a value into the input and tab or click away, your text disappears and the value is cleared. When enabled, this new property will emit the add-member event now.