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
A select looks disabled when the value is set to ''. There is no has-value attribute set on the select. This was introduced in V22 alpha 3.
''
has-value
A Select looks the same regardless of if the value is 'foo' or ''.
'foo'
import '@vaadin/vaadin-item/vaadin-item'; import '@vaadin/vaadin-list-box/vaadin-list-box'; import '@vaadin/vaadin-select/vaadin-select'; import { html, LitElement, render } from 'lit'; import { customElement } from 'lit/decorators.js'; import { guard } from 'lit/directives/guard.js'; @customElement('select-basic') export class Example extends LitElement { render() { return html` <vaadin-select value="recent" label="Sort by" .renderer="${guard( [], () => (root: HTMLElement) => render( html` <vaadin-list-box> <vaadin-item value="">All of them</vaadin-item> <vaadin-item value="one">One</vaadin-item> <vaadin-item value="two">Two</vaadin-item> <vaadin-item value="three">Three</vaadin-item> </vaadin-list-box> `, root ) )}" ></vaadin-select> `; } }
The text was updated successfully, but these errors were encountered:
Added this to the upcoming spring. This is a regression that we need to fix ASAP.
Sorry, something went wrong.
tomivirkki
Successfully merging a pull request may close this issue.
Description
A select looks disabled when the value is set to
''
. There is nohas-value
attribute set on the select.This was introduced in V22 alpha 3.
Expected outcome
A Select looks the same regardless of if the value is
'foo'
or''
.Minimal reproducible example
The text was updated successfully, but these errors were encountered: