MCPcopy Create free account
hub / github.com/chunshand/qdev / createFormOptions

Function createFormOptions

admin/src/components/Qdev/Form/interface.ts:128–134  ·  view source on GitHub ↗
(obj: DeepPartial<FormOptions>)

Source from the content-addressed store, hash-verified

126 * @returns
127 */
128export const createFormOptions = (obj: DeepPartial<FormOptions>): FormOptions => {
129 const r = reactive(_.merge(_.cloneDeep(DEFAULTFORM), _.cloneDeep(obj)));
130 r.help.getForm = function () {
131 return r
132 }
133 return r
134}
135
136

Callers 2

createTableOptionsFunction · 0.90
interface.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected