Represents true and false values for checkbox. Should be used when we don't want standard boolean values for the object's property.
// @DorfObject() class TestDomainObject { @DorfCheckbox<string>({ label: "Is smart?", mapping: { trueValue: "yes", falseValue: "no" }, updateModelOnChange: true }) private _smart: string; }
Value assigned when checkbox is unchecked.
Value assigned when checkbox is checked.
Generated using TypeDoc
Represents true and false values for checkbox. Should be used when we don't want standard boolean values for the object's property.
// @DorfObject() class TestDomainObject { @DorfCheckbox<string>({ label: "Is smart?", mapping: { trueValue: "yes", falseValue: "no" }, updateModelOnChange: true }) private _smart: string; }