clear
Description
Optional. Adds the Clear button into the inputUsage
clear?: boolean;
Parameters
true
- the Clear button is added to the inputfalse
- (default) the Clear button is not added to the input
Example
<ColorSelect clear />
Details
The Clear (cross) icon is visible when some color is selected and its value is set into the control.
Related article: Adding the Clear button