UI/presentation configuration for a MishkaGervaz.Form.Entities.Field
— label, placeholder, description, icon, CSS classes, debounce
override, grid span, plus add/remove labels for repeater controls.
The extra map is the escape hatch for template-specific options
that don't deserve a first-class schema key.
Summary
Types
@type t() :: %MishkaGervaz.Form.Entities.Field.Ui{ __spark_metadata__: map() | nil, add_label: String.t() | (-> String.t()) | nil, autocomplete: String.t() | nil, class: String.t() | nil, debounce: integer() | nil, description: String.t() | nil, disabled_prompt: String.t() | (-> String.t()) | nil, extra: map(), icon: String.t() | nil, label: String.t() | (-> String.t()) | nil, placeholder: String.t() | nil, remove_label: String.t() | (-> String.t()) | nil, rows: integer() | nil, span: pos_integer() | nil, step: number() | nil, wrapper_class: String.t() | nil }