Skip to content

Commit

Permalink
fix: Remove conole
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel.carrera committed Sep 6, 2023
1 parent 1b24e52 commit 86cc3f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/react/select/lib/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const SelectInput = createSubcomponent(TextInput)({
modelHook: useSelectModel,
elemPropsHook: useSelectInput,
})<SelectInputProps>(
({placeholder = 'Choose an Option', inputStartIcon, ...props}, Element, model) => {
({placeholder = 'Choose an Option', inputStartIcon, ...elemProps}, Element, model) => {
return (
<InputGroup>
{inputStartIcon && model.state.selectedIds.length > 0 && (
Expand All @@ -39,7 +39,7 @@ export const SelectInput = createSubcomponent(TextInput)({
as={Element}
placeholder={placeholder}
style={{caretColor: 'transparent', cursor: 'default'}}
{...props}
{...elemProps}
></InputGroup.Input>
<InputGroup.InnerEnd position="absolute" pointerEvents="none">
<SystemIcon icon={caretDownSmallIcon} />
Expand Down
1 change: 0 additions & 1 deletion modules/react/select/lib/hooks/useSelectModel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const useSelectModel = createModelHook({
},
contextOverride: useComboboxModel.Context,
})(config => {
console.log(config);
const model = useComboboxModel(config);
return model;
});

0 comments on commit 86cc3f8

Please sign in to comment.