@tsed/schema-formio
Version:
Transform Ts.ED Schema & JsonSchema to a valid Formio schema
16 lines (14 loc) • 303 B
text/typescript
import {Component} from "./component.js";
/**
* Force the output of this field to be sanitized in a specific format.
* @decorator
* @formio
* @property
* @schema
* @param textCase
*/
export function TextCase(textCase: "uppercase" | "lowercase") {
return Component({
case: textCase
});
}