Skip to content

Commit

Permalink
return empty string if container id is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
jesuyedavid committed Oct 4, 2023
1 parent 39b3cab commit b4e2894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/components/search/searchcomponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ export default class SearchComponent extends Component {
labelText: this.labelText,
inputLabelIdName: this.inputLabelIdName,
submitIcon: this.submitIcon,
searchBarContainerId: this._container.id,
searchBarContainerId: this._container.id || '',
submitText: this.submitText,
clearText: this.clearText,
showClearButton: this._showClearButton,
Expand Down

0 comments on commit b4e2894

Please sign in to comment.