Skip to content

Commit

Permalink
getInputStylePalette accept undefined return
Browse files Browse the repository at this point in the history
  • Loading branch information
apattersonATX-HB committed Dec 6, 2024
1 parent 89f3dd3 commit c6e3c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inputs/internal/ComboBoxBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface ComboBoxBaseProps<O, V extends Value> extends BeamFocusableProp
getOptionValue: (opt: O) => V;
getOptionLabel: (opt: O) => string;
/** Sets an input style based on the option(s) selected if `inputStylePalette` is not set */
getInputStylePalette?: (values: V[] | undefined) => InputStylePalette;
getInputStylePalette?: (values: V[] | undefined) => InputStylePalette | undefined;
/** The current value; it can be `undefined`, even if `V` cannot be. */
values: V[] | undefined;
onSelect: (values: V[], opts: O[]) => void;
Expand Down

0 comments on commit c6e3c2f

Please sign in to comment.