Cheat Sheet

Official JSF cheat Sheet

Prop options

Prop type

Options

*

  • title Field title.

  • required Make field required.

  • default Default value to be used on fresh forms.

  • advancedDefault

  • const

  • enabledIf Make this field conditional.

  • evalValidators Specify custom validation rules.

  • handler Change behaviour.

  • virtual Ignore this field when submiting. 👻

  • nullable When no value set, pretend to be null.

string

  • format Can be one of: 'email', 'hostname', 'uri', 'uri-reference', 'ipv4', 'ipv6', 'mac', 'date-time', 'date', 'time', 'regex', 'color', 'credit-card', 'phone'.

  • minLength Min. allowed length.

  • maxLengthMax. allowed length.

  • pattern Reqex rule. Have fun 😁 .

  • secret Make this filed show as password.

  • multiline Make this field show as textarea.

array

  • items 🐣

  • uniqueItems

  • minItems

  • maxItems

object

  • properties🐣

date

  • minimum Min. allowed date.

  • maximum Max. allowed date.

number

  • minimum

  • maximum

  • exclusiveMinimum

  • exclusiveMaximum

  • maxDecimalDigits

integer

  • minimum

  • maximum

  • even

  • odd

Layout options

Layout type

Options

*

  • $mode

  • htmlOuterClass

  • htmlClass

  • preferences

  • handlerPreferences

  • visibleIf 👻

  • buildIf 👻

  • translatableFields

  • onClick

  • tooltip

  • analytics

Last updated

Was this helpful?