Skip to content

Conditional

@tsed/schema-formio

Usage

typescript
import { Conditional } from "@tsed/schema-formio";

See /packages/third-parties/schema-formio/src/types/decorators/conditional.ts.

Overview

ts
function Conditional(conditional: {
    show: boolean;
    when: string;
    eq: any;
}): PropertyDecorator;

Description

Adds a conditional display rule on the input form.

show

ts
show: boolean;

when

ts
when: string;

eq

ts
eq: any;

Released under the MIT License.