Skip to content

Commit

Permalink
Merge pull request #1635 from creative-commoners/pulls/2/inputid
Browse files Browse the repository at this point in the history
MNT Add ID attribute to input
  • Loading branch information
GuySartorelli authored Dec 17, 2023
2 parents 58ec545 + d447c2b commit b84244d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ const SearchableDropdownField = ({
}
}

const inputId = `${passThroughProps.id}__input`;

const DynamicComponent = lazyLoad ? AsyncSelectComponent : SelectComponent;

return <EmotionCssCacheProvider>
Expand All @@ -152,6 +154,7 @@ const SearchableDropdownField = ({
noOptionsMessage={noOptionsMessage}
{...refProps}
value={val}
inputId={inputId}
/>
</EmotionCssCacheProvider>;
};
Expand Down

0 comments on commit b84244d

Please sign in to comment.