We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
When using <mdui-select> the text value of the items doesn't get trimmed so you end up with something like this:
<mdui-select>
when writing
<mdui-menu-item value="SCHEDULED"> Scheduled </mdui-menu-item>
The issue is here
mdui/packages/mdui/src/components/select/index.ts
Line 538 in 8fac167
and this one could be an issue for some other component
mdui/packages/shared/src/helpers/slot.ts
Line 32 in 8fac167
textContent should be replaced with textContent?.trim() I suppose.
textContent
textContent?.trim()
There's probably more but can't find them right now.
The text was updated successfully, but these errors were encountered:
trim text value in <mdui-select> #330
a14b471
ae4cce7
Fixed in v2.1.2
Sorry, something went wrong.
No branches or pull requests
Hello,
When using
<mdui-select>
the text value of the items doesn't get trimmed so you end up with something like this:when writing
The issue is here
mdui/packages/mdui/src/components/select/index.ts
Line 538 in 8fac167
and this one could be an issue for some other component
mdui/packages/shared/src/helpers/slot.ts
Line 32 in 8fac167
textContent
should be replaced withtextContent?.trim()
I suppose.There's probably more but can't find them right now.
The text was updated successfully, but these errors were encountered: