Only specify characters for Chip component

UI Components for React
Post Reply
avykoukal
Posts: 7
Joined: 03 Oct 2017, 13:57

25 Apr 2022, 14:10

Hi,
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".

Ales

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

25 Apr 2022, 14:54

It looks like there is currently no way for you to hook into onKeyPress right now. I would submit it as an enhancement request on GitHub.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests