Show display type in HTML #1196
Unanswered
benoitblancquaert
asked this question in
Ideas
Replies: 1 comment
-
A fair enough suggestion! Added for the next release (
Then run |
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
-
Hi!
I was wondering how to style a form field (of type entries) based on the field display settings. There is no class or data attribute for this. Would it be possible to show the display type (dropdown, checkboxes or radio buttons) via a data attribute? This would be super handy.
For example, a form field of type entries:
It would be helpful if the HTML above had an additional data attribute that matches the field display settings like
data-display-type="dropdown"
.Thanks for looking into this.
Beta Was this translation helpful? Give feedback.
All reactions