Overview

Other Widgets

Overview of field-editor widgets that do not have a dedicated page in this section.

Included Widgets

  • text
  • txt_area
  • boolean
  • number_boolean
  • date
  • datetime
  • color
  • tree
  • point
  • polygon
  • multiple_check (if not treated as an advanced lookup)

Common Metadata Properties

  • mc_display_string_in_edit, mc_display_string_in_view: label/caption.
  • mc_logic_editable, mc_editable_insert_only: editability rules.
  • mc_hide_in_list, mc_hide_in_edit, mc_hide_in_detail: visibility.
  • mc_show_in_filters, mc_filter_hide_operator, mc_filter_disable_operator: filter behavior.
  • mc_default_value, mc_default_value_callback: default values.
  • mc_validation_*: required/pattern/type/max/min/custom.
  • mc_logic_converter_*: read/write converters.
  • mc_suggest_value_callback: automatic suggest.

Cross-cutting mc_props_bag (base)

Snippet 1JSON
{
  "form": {
    "columns": 1,
    "disabled": false
  },
  "style": {
    "editCss": ""

Notes by Type

  • boolean / number_boolean: focus on default/required and toggle-checkbox rendering.
  • date / datetime: pay attention to locale format and timezone on the UI side.
  • color: uses a CSS string value (#rrggbb or equivalent).
  • point / polygon: depend on JSON coordinate format and related map widgets.
  • text / txt_area: combine mc_max_length + pattern validations where needed.

Client/Server Effects

  • Client: dynamic widget selection from mc_ui_column_type (MetadataProviderService.widgetMap).
  • Server: persistence/filters/sort based on DB type and metadata mapping.