1.0.3 • Published 2 years ago

rbp-chips-input v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

ChipsInput

This library was generated with Angular CLI version 15.2.0.

This library provides a input where the user can easily add chips.

Inputs

NameTypeDescriptionDefault
requiredbooleanTrue if the input is required.true
allowDuplicatedbooleanTrue if the input can not have repeated valuestrue
placeholderstringPlaceholder to show in the chip inputAdd a chip
separatorstringSeparator to use to split the chips along the Enter key''
duplicatedErrorColorstringColor to highlight the duplicated chip#fda29b

Outputs

NameOutput TypeDescription
onAddedChipstringReturn the new chip added.
onRemovedChipstringReturn the removed chip added.

How to use

<rbp-chips-input [formControl]="control"  [required]="false" [allowDuplicated]="true"></rbp-chips-input>

<rbp-chips-input [(ngModel)]="chips"></rbp-chips-input>
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

0.0.1

2 years ago