Open chrismlusk opened 5 months ago
Agreed, I did actually think of this a few times but forgot to write it up as a FR.
Just to be clear, should we include the visual cue when any field is hidden for a number of reasons?
As for the icon, I like the indicator, we'll just have to check it doesn't interfere with the icons on other field types.
To be clear, I'm suggesting the icon only for the hidden field type. If an email field has visibility hidden, I'd keep the email icon but add the gray background.
I hadn't considered conditionally hidden fields, but yes I think a visual cue makes sense for those too. As a developer who is accustomed to Craft's entry conditions, I could see using the same indicator — but Formie is more client facing than field layout settings, so it might not be the best option.
Thanks for the clarification!
What are you trying to do?
In the form builder, I would like to be able to quickly see which fields are hidden.
What's your proposed solution?
I see that Hidden Fields are rendered with a
disabled
attribute and get a gray background, so this could also apply to fields where the "Visibility" option is set to hidden. But, to further differentiate what isvisibility == hidden
and what is aHidden Field
, how about adding the Hidden Field's icon to thefui-field-preview
?Additional context
No response