Skip to content

Commit

Permalink
Add description to MultiSelect options prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartmr committed Jun 23, 2022
1 parent 2fe41b4 commit f45326d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/react-drylus/src/forms/MultiSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ export interface MultiSelectOption<T> extends Option<T> {
}

export interface MultiSelectProps<T, K = string> {
/** The options to show in the list of options, note that label and value may differ depending on valueKey and labelKey */
/**
* The options to show in the list of options, note that label and value may differ depending on valueKey and labelKey
* If this is not provided, the component will behave like as a multiple input field, with dropdown and select functionality disabled
* */
options?: Array<MultiSelectOption<T>>;

/** Determines which values are currently active */
Expand Down

0 comments on commit f45326d

Please sign in to comment.