Potential Integration of Customizable select
Element Specification in DaisyUI
#3513
BakirGracic
started this conversation in
General
Replies: 2 comments 1 reply
-
Thanks for the details 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
-
coming back here to suggest adding icon/label support to select inputs like there are icons/labels for basic input fields |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A new browser specification for customizable select elements is under development, currently outlined in the Chrome Developers RFC and Open UI's Specification Draft This proposal introduces native HTML/CSS capabilities for styling select elements beyond current limitations. An experimental implementation can be viewed in this CodePen example (you must have canary web browser version + experimental features turned on to see effects).
(From Chrome Developers, old vs. new
select
with only HTML & plain CSS)Current DaisyUI Implementation
DaisyUI's select component (
select
class) provides:Current limitations:
select
element capabilitiesNew Specification Features
Key aspects of the proposed specification:
<selectlist>
element as a semantic wrapper<option>
elements with full HTML content supportDiscussion Points
Beta Was this translation helpful? Give feedback.
All reactions