{"ScriptPreparationCode":"window.defaults = {\r\n autoComplete: null, // WARN: without null impossible to use with form.autoComplete: possible to change is user options will be empty/not cloned by default\r\n autoFocus: false,\r\n clearActions: 0,\r\n focusDebounceMs: 100,\r\n validateDebounceMs: 500,\r\n validationCase: 123,\r\n validationRules: {\r\n required: (v, setV) =\u003E setV === true \u0026\u0026 this.$isEmpty(v) \u0026\u0026 \u0022This field is required\u0022,\r\n },\r\n validations: null,\r\n validationShowAll: false,\r\n disabled: false,\r\n readOnly: false,\r\n label: null,\r\n name: null,\r\n storage: \u0022local\u0022,\r\n skey: null, \r\n };","TestCases":[{"Name":"Copy forEach","Code":"let opts = {};\r\nObject.keys(defaults).forEach(k=\u003E{\r\n opts[k] = defaults[k]\r\n})","IsDeferred":false},{"Name":"Spread","Code":"let opts = {...defaults}","IsDeferred":false},{"Name":"Copy ignoring nulls","Code":"let opts = {};\r\nObject.keys(defaults).forEach(k=\u003E{\r\n const def = defaults[k];\r\n if (def != null) {\r\n \topts[k] = def;\r\n }\r\n})","IsDeferred":false}]}