Module green_barrel::fields

source ·
Expand description

For control of fields on the server and client side.

Re-exports

Modules

  • Boolean field.
  • Type of selective field with static of elements. With a single choice.
  • Type of selective field with dynamic addition of elements. For simulate relationship Many-to-One. Elements are added via the ModelName::update_dyn_field() method.
  • Type of selective field with static of elements. With multiple choice.
  • Type of selective field with dynamic addition of elements. For simulate relationship Many-to-Many. Elements are added via the ModelName::update_dyn_field() method.
  • Type of selective field with static of elements. With a single choice.
  • Type of selective field with dynamic addition of elements. For simulate relationship Many-to-One. Elements are added via the ModelName::update_dyn_field() method.
  • Type of selective field with static of elements. With multiple choice.
  • Type of selective field with dynamic addition of elements. For simulate relationship Many-to-Many. Elements are added via the ModelName::update_dyn_field() method.
  • Type of selective field with static of elements. With a single choice.
  • Type of selective field with dynamic addition of elements. For simulate relationship Many-to-One. Elements are added via the ModelName::update_dyn_field() method.
  • Type of selective field with static of elements. With multiple choice.
  • Type of selective field with dynamic addition of elements. For simulate relationship Many-to-Many. Elements are added via the ModelName::update_dyn_field() method.
  • Type of selective field with static of elements. With a single choice.
  • Type of selective field with dynamic addition of elements. For simulate relationship Many-to-One. Elements are added via the ModelName::update_dyn_field() method.
  • Type of selective field with static of elements. With multiple choice.
  • Type of selective field with dynamic addition of elements. For simulate relationship Many-to-Many. Elements are added via the ModelName::update_dyn_field() method.
  • Type of selective field with static of elements. With a single choice.
  • Type of selective field with dynamic addition of elements. For simulate relationship Many-to-One. Elements are added via the ModelName::update_dyn_field() method.
  • Type of selective field with static of elements. With multiple choice.
  • Type of selective field with dynamic addition of elements. For simulate relationship Many-to-Many. Elements are added via the ModelName::update_dyn_field() method.
  • The default value is #000000 (black). Examples: #fff | #f2f2f2 | #ffffff00 | rgb(255,0,24) | rgba(255,0,24,0.5) | rgba(#fff,0.5) | hsl(120,100%,50%) | hsla(170,23%,25%,0.2) | 0x00ffff.
  • A field for entering a date in the format 1970-01-01.
  • A field for entering a date и времени in the format 1970-01-01T00:00.
  • A field for entering Email addresses.
  • File upload field.
  • This type was created specifically for the hash field.
  • This type was created specifically for the created_at and updated_at fields.
  • Field for uploading images.
  • Field for entering IP addresses. Parameter: field_type=IP|IPv4|IPv6
  • Field for entering float numbers. For Html <input type=“number|radio|range”.
  • A field for entering integer 32-bit numbers. For Html <input type=“number|radio|range”.
  • A field for entering integer 64-bit numbers. For Html <input type=“number|radio|range”.
  • A field for entering unsigned 32-bit integers. For Html <input type=“number|radio|range”.
  • Password field.
  • A field for entering a phone number.
  • Automatically creates a label from letters, numbers, and hyphens. Convenient to use for Url addresses.
  • A field for entering a text string. For Html <input type=“text|radio” and textarea(multiline=true)
  • Field for entering URL addresses.