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 3db6582 commit 9e8ba4dCopy full SHA for 9e8ba4d
1 file changed
Source/Blazorise/wwwroot/dropdown.js
@@ -4,8 +4,7 @@ import { createFloatingUiAutoUpdate } from './floatingUi.js?v=2.0.3.0';
4
const _instances = [];
5
6
function createSelector(value) {
7
- const classNames = '.' + value.split(' ').filter(i => i).join('.');
8
-
+ const classNames = '.' + value.trim().split(/\s+/).map(CSS.escape).join('.');
9
return classNames;
10
}
11
0 commit comments