Class: Glib::JsonUi::ViewBuilder::Fields::Country
- Inherits:
-
AbstractField
- Object
- JsonUiElement
- View
- AbstractField
- Glib::JsonUi::ViewBuilder::Fields::Country
- Defined in:
- app/helpers/glib/json_ui/view_builder/fields.rb
Overview
Deprecated Just use fields_select with options provided by the backend. This allows greater flexibility, which is important because different systems might want to use different values for countries as well as for regions, e.g. alpha2 vs alpha3 See app/views/json_ui/garage/forms/pickers.json.jbuilder for an example
Instance Attribute Summary
Attributes inherited from JsonUiElement
Method Summary
Methods inherited from AbstractField
#context, #created, #default_url_options, #determine_value, #hint, #hint_args, #label, #label_args, #name, #placeholder, #placeholder_args, #prop, #value
Methods inherited from View
Methods inherited from JsonUiElement
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement