UNPKG

@tsed/schema-formio

Version:

Transform Ts.ED Schema & JsonSchema to a valid Formio schema

18 lines (17 loc) 307 B
import { Component } from "./component.js"; /** * Set hidden field. * * A hidden field is still a part of the form, but is hidden from view. * * @param bool * @decorator * @formio * @property * @schema */ export function Hidden(bool = true) { return Component({ hidden: bool }); }