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 6e8635d commit 7370be7Copy full SHA for 7370be7
src/components/Picker.js
@@ -486,7 +486,7 @@ function Picker({
486
if ((results.length === 0 || results.findIndex(item => String(item[_schema.label]).toLowerCase() === searchText.toLowerCase()) === -1) && addCustomItem) {
487
results.push({
488
[_schema.label]: searchText,
489
- [_schema.value]: customItemValueDelimiter ? searchText.replace(' ', customItemValueDelimiter) : searchText,
+ [_schema.value]: customItemValueDelimiter ? searchText.replaceAll(' ', customItemValueDelimiter) : searchText,
490
custom: true
491
});
492
}
0 commit comments