Conditional Fields
Use Vue’s computed properties to enable conditional fields within your forms.
In this example, see how the fields
that were original defined in options are now defined as fields()
within the computed properties. This allows logic to be included that references the current this.model
form model values.
In this example, this is used to show and hide the additional text input control: