Component: Chips. No ability to limit max length of chip #14592
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
As for now, there is no ability to limit max length of value, that will be inserted into chip.
Proposal is to add
maxLength
property, that will limit number of characters that can be typed.It will use
input
's nativemaxlength
propertyBenefit is improved UX and usage of standard HTML attributes
New
@Input
will be introduced, so no breaking changesEnvironment
Chrome
Reproducer
No response
Angular version
17.0.4
PrimeNG version
17.3.3
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.10.0
Browser(s)
Chrome 120
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: