alfresco-ng2-components/docs/content-services/components/search-chip-input.component.md
MichalKinas 85fd98874a
[ACS-5181] Logical search components (#8616)
* [ACS-5181] Add logical search component

* [ACS-5181] Add unit tests to logical search components

* [ACS-5181] Logical filter components docs

* [ACS-5181] CR fixes

* [ACS-5181] CR and accessibility fixes
2023-06-05 16:23:41 +01:00

1.9 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Search Chip Input component v6.1.0 Active 2023-06-01

Search Chip Input component

Represents an input with stacked list of chips as phrases added through input.

Search Chip Input

Basic usage

<adf-search-chip-input 
    [label]="'Some label'"
    [onReset]="onResetObservable"
    (phrasesChanged)="handlePhraseChanged($event)">
</adf-search-chip-input>

Properties

Name Type Default value Description
label string Label that will be associated with the input
addOnBlur boolean true Specifies whether new phrase will be added when input blurs
onReset Observable<void> Observable that will listen to any reset event causing component to clear the chips and input

Events

Name Type Description
phrasesChanged EventEmitter<string[]> Emitted when new phrase is entered

See also