File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export interface CubeComboBoxProps<T>
108108 > ,
109109 AriaComboBoxProps < T > ,
110110 AriaTextFieldProps {
111- defaultSelectedKey ?: string ;
111+ defaultSelectedKey ?: string | null ;
112112 selectedKey ?: string | null ;
113113 onSelectionChange ?: ( selectedKey : string | null ) => void ;
114114 onInputChange ?: ( inputValue : string ) => void ;
Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ function TextInputMapperInput(props: CubeTextInputMapperInputProps) {
347347 aria-label = { placeholder }
348348 placeholder = { placeholder }
349349 onInputChange = { onChange }
350- onSelectionChange = { onSelectionChange }
350+ onSelectionChange = { ( val ) => onSelectionChange ( val ?? '' ) }
351351 >
352352 { ( options ?? [ ] ) . map ( ( option ) => (
353353 < ComboBox . Item key = { option } > { option } </ ComboBox . Item >
You can’t perform that action at this time.
0 commit comments