Class: Glib::JsonUi::ViewBuilder::Fields::Country

Inherits:
AbstractField show all
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

#json, #page

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

component_name

Methods inherited from JsonUiElement

#initialize, #props

Constructor Details

This class inherits a constructor from Glib::JsonUi::JsonUiElement