react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

maxChips param on ChipsInput is not respected

Open nikitph opened this issue 2 years ago • 0 comments

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

nikitph avatar Aug 04 '22 16:08 nikitph