✨(react) add clearable option to Select
Based on a feedback given from another project, we want to be able to disable the clear feature on the select. Resolve #60
This commit is contained in:
@@ -155,6 +155,16 @@ export const FullWidth = {
|
||||
},
|
||||
};
|
||||
|
||||
export const NotClearable = {
|
||||
render: Template,
|
||||
args: {
|
||||
label: "Select a city",
|
||||
options: OPTIONS,
|
||||
defaultValue: OPTIONS[4].value,
|
||||
clearable: false,
|
||||
},
|
||||
};
|
||||
|
||||
export const Success = {
|
||||
render: Template,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user