maxChips param on ChipsInput is not respected
Open
@adids1221 is already working on this.
Since Aug 18, 2022.
bug
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 748
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 1
Description
Description
maxChips param on ChipsInput is not respected. i can put in any number of chips in there.
Related to
- Components
- Demo
- Docs
- Typings
Steps to reproduce
<Incubator.ChipsInput
maxChips={1}
multiline={false}
chips={[{ label: 'Falcon 9' }, { label: 'Enterprise' }]} />
This code should display only one chip
Expected behavior
maxChips param b respected
Actual behavior
More Info
Code snippet
Screenshots/Video
Environment
- React Native:
- React Native UI Lib:
Affected platforms
- Android
- iOS
- Web
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.