Controlled Mode
By default, the ChipList is in an uncontrolled state.
Set the defaultData
property if you want to stay in uncontrolled mode.
To manage the state of the ChipList:
- Set the
data
property to your data value. - Handle the
onDataChange
event. - Set the new value trough the props.
Example
View Source
Change Theme: