We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2fe3ac commit 8a184b2Copy full SHA for 8a184b2
src/components/fields/ComboBox/ComboBox.tsx
@@ -1505,7 +1505,8 @@ export const ComboBox = forwardRef(function ComboBox<T extends object>(
1505
</ComboBoxWrapperElement>
1506
);
1507
1508
- const finalProps = { ...props, styles: fieldStyles };
+ const { children: _, ...propsWithoutChildren } = props;
1509
+ const finalProps = { ...propsWithoutChildren, styles: fieldStyles };
1510
1511
// Ensure labelProps has the for attribute for label-input linking
1512
if (!finalProps.labelProps) {
0 commit comments