-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Chips: Add onKeyDown and KeyFilter #2797
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Comments
melloware
added a commit
to melloware/primereact
that referenced
this issue
Apr 25, 2022
melloware
changed the title
Only specify characters for Chip component
Chips: Only allow certain characters
Apr 25, 2022
melloware
added
the
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
label
Apr 25, 2022
I added const onKeyDown = (event) => {
if (event.which === 65) {
event.preventDefault();
}
} |
Is it possible to apply 'KeyFilter'? |
sure! |
melloware
changed the title
Chips: Only allow certain characters
Chips: Add onKeyDown and KeyFilter
Apr 25, 2022
melloware
added a commit
to melloware/primereact
that referenced
this issue
Apr 25, 2022
KeyFilter added as well. |
melloware
added a commit
to melloware/primereact
that referenced
this issue
Apr 29, 2022
melloware
added a commit
to melloware/primereact
that referenced
this issue
May 11, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
How to set insert to Chip component only certain characters.
For example, I want to enter from the list of characters "a, b, c, d, e, f, 1,2,3,4,5".
The text was updated successfully, but these errors were encountered: