(obj: DeepPartial<FormOptions>)
| 126 | * @returns |
| 127 | */ |
| 128 | export 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 |
no outgoing calls
no test coverage detected