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.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from JsonUiElement
Instance Method Summary collapse
Methods included from ChangeTrigger
Methods inherited from AbstractField
#autoValidate, #context, #default_url_options, #determine_value, #disableDirtyCheck, #existing_attachment_url, #hint, #hint_args, #label, #label_args, #name, #placeholder, #placeholder_args, #prop, #validation, #value
Methods inherited from View
Methods inherited from JsonUiElement
action, any, array, badgeable, bool, color, component_name, date, date_time, enum, float, hash, icon, #initialize, int, length, menu, panels_builder, #props, required, singleton_array, string, text, url, views
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement
Instance Method Details
#created ⇒ Object
402 403 404 405 406 407 408 |
# File 'app/helpers/glib/json_ui/view_builder/fields.rb', line 402 def created # Hidden fields don't need labels or placeholders @label = '' @placeholder = '' super end |