react-native-ui-lib
react-native-ui-lib copied to clipboard
maxChips param on ChipsInput is not respected
Description
maxChips param on ChipsInput is not respected. i can put in any number of chips in there.
Related to
- [x] 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
- [x] iOS
- [ ] Web