-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Migrate ha-icon-picker to generic picker #27677
New issue
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
base: dev
Are you sure you want to change the base?
Conversation
| allow-custom-value | ||
| .dataProvider=${ICONS_LOADED ? this._iconProvider : undefined} | ||
| .getItems=${this._getItems} | ||
| .label=${this.label} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if all labels should be outside the field for consistency. We will have to do it when migrating to web awesome, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally not a fan of the label being on the outside, I prefer the way ha-textfield does it, possibly need UX on this. Maybe the default picker design needs another look at
Those using the generic picker currently (with a single option) don't use the label or use the placeholder as the label.
Others using generic picker (single item):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issues would be resolved with #28236
c6c2d47 to
4d77c2b
Compare
|
Why does the icon naming needs to be prefixed with "mdi:" in the dropdown selector? |



Breaking change
Proposed change
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: