Skip to content

Commit b4a3821

Browse files
authored
fixing combobox help text (#2410)
1 parent 3550ee3 commit b4a3821

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/@react-spectrum/combobox/src/ComboBox.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const ComboBoxBase = React.forwardRef(function ComboBoxBase<T extends object>(pr
9595
);
9696
let layout = useListBoxLayout(state);
9797

98-
let {buttonProps, inputProps, listBoxProps, labelProps} = useComboBox(
98+
let {buttonProps, inputProps, listBoxProps, labelProps, descriptionProps, errorMessageProps} = useComboBox(
9999
{
100100
...props,
101101
keyboardDelegate: layout,
@@ -158,6 +158,8 @@ const ComboBoxBase = React.forwardRef(function ComboBoxBase<T extends object>(pr
158158
<>
159159
<Field
160160
{...props}
161+
descriptionProps={descriptionProps}
162+
errorMessageProps={errorMessageProps}
161163
labelProps={labelProps}
162164
ref={domRef}>
163165
<ComboBoxInput

0 commit comments

Comments
 (0)