lion/packages/field
CircleCI 722421b18e chore: release new versions
- @lion/calendar@0.6.5
 - @lion/checkbox-group@0.5.4
 - @lion/checkbox@0.3.4
 - @lion/choice-input@0.5.4
 - @lion/dialog@0.4.3
 - @lion/field@0.8.4
 - @lion/fieldset@0.6.4
 - @lion/form-system@0.3.6
 - @lion/form@0.4.4
 - @lion/input-amount@0.5.4
 - @lion/input-date@0.5.4
 - @lion/input-datepicker@0.8.5
 - @lion/input-email@0.5.4
 - @lion/input-iban@0.5.5
 - @lion/input-range@0.2.4
 - @lion/input@0.5.4
 - @lion/localize@0.8.4
 - @lion/option@0.4.4
 - @lion/overlays@0.11.3
 - @lion/radio-group@0.5.4
 - @lion/radio@0.3.4
 - @lion/select-rich@0.9.4
 - @lion/select@0.5.4
 - @lion/switch@0.5.4
 - @lion/textarea@0.5.5
 - @lion/tooltip@0.7.3
 - @lion/validate@0.6.4
2020-01-23 17:35:37 +00:00
..
docs feat: improved storybook demos 2020-01-13 13:58:03 +01:00
src feat(field): add wrappers to allow label left of input 2019-12-13 15:19:41 +01:00
test fix(overlays): remove _contentNodeWrapper on teardown 2019-11-29 17:34:48 +01:00
test-suites fix(field): support moving of a portal node 2019-12-04 17:04:35 +01:00
CHANGELOG.md chore: release new versions 2020-01-23 17:35:37 +00:00
index.js fix(field): implement FormRegistrarPortalMixin 2019-08-23 16:43:42 +02:00
lion-field.js feat: release inital public lion version 2019-04-26 10:37:57 +02:00
package.json chore: release new versions 2020-01-23 17:35:37 +00:00
README.md chore: typo in field readme 2019-11-28 11:26:48 +01:00

Form Fundaments

Form controls are the most fundamental building block of the Forms. They are the basis of both fields and fieldsets, and the form itself.

Fields

Fields are the actual form controls the end user interacts with. They extend the Field class, which on its turn uses the FormControlMixin. Fields provide a normalized, predictable API for platform components and custom made form controls. On top of this, they feature:

  • data synchronization with models
  • formatting of view values
  • advanced validation possibilities
  • creation of advanced user interaction scenarios via interaction states
  • provision of labels and help texts in an easy, declarative manner
  • better focus management
  • accessibility out of the box
  • advanced styling possibilities: map your own Design System to the internal HTML structure

Platform fields (wrappers)

Custom fields (wrappers)

Whenever a native form control doesn't exist or is not sufficient, a custom form field should be created. One could think of components like:

  • slider
  • combobox
  • autocomplete
  • etc...

Fieldsets

Fieldsets are groups of fields. They can be considered fields on their own as well, since they partly share the normalized api via FormControlMixin. Fieldsets are the basis for:

Other Resources