Skip to content

Commit

Permalink
Merge branch 'main' into feat/instrument-packages-with-js-scope
Browse files Browse the repository at this point in the history
  • Loading branch information
francinelucca authored Apr 25, 2024
2 parents 3ba62bd + 7ea3b30 commit 35fd8fd
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ const TableToolbarSearch = ({
disabled={disabled}
className={searchClasses}
value={value}
id={typeof id !== 'undefined' ? id : uniqueId.toString()}
id={
typeof id !== 'undefined'
? id
: `table-toolbar-search-${uniqueId.toString()}`
}
labelText={labelText || t('carbon.table.toolbar.search.label')}
placeholder={placeholder || t('carbon.table.toolbar.search.placeholder')}
onChange={onChange}
Expand Down

0 comments on commit 35fd8fd

Please sign in to comment.