✨(react) add disable property to select option
Based on recent feedbacks, this feature was needed for consumer apps. Resolve #60
This commit is contained in:
@@ -165,6 +165,14 @@ export const NotClearable = {
|
||||
},
|
||||
};
|
||||
|
||||
export const DisabledOptions = {
|
||||
render: Template,
|
||||
args: {
|
||||
label: "Select a city",
|
||||
options: OPTIONS.map((option, i) => ({ ...option, disabled: i % 3 === 0 })),
|
||||
},
|
||||
};
|
||||
|
||||
export const Success = {
|
||||
render: Template,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user