Class: Glib::JsonUi::ViewBuilder::Fields::Hidden
- Inherits:
-
Text
- Object
- JsonUiElement
- View
- AbstractField
- Text
- Glib::JsonUi::ViewBuilder::Fields::Hidden
- Defined in:
- app/helpers/glib/json_ui/view_builder/fields.rb
Overview
Hidden input field not visible to users.
Submitted with the form but not displayed. Useful for passing data like IDs, tokens, or state that users shouldn’t see or modify.
Instance Attribute Summary
Attributes inherited from JsonUiElement
Instance Method Summary collapse
Methods inherited from AbstractField
#autoValidate, #context, #default_url_options, #determine_value, #disableDirtyCheck, #hint, #hint_args, #label, #label_args, #name, #placeholder, #placeholder_args, #prop, #validation, #value
Methods inherited from View
Methods inherited from JsonUiElement
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement
Instance Method Details
#created ⇒ Object
319 320 321 322 323 324 325 |
# File 'app/helpers/glib/json_ui/view_builder/fields.rb', line 319 def created # Hidden fields don't need labels or placeholders @label = '' @placeholder = '' super end |