Hello,
I've tried
to set a field's defaultValue via an anonymous function but it di not work. Any ideas how to set deafultValues by a function ?
TIA
I've tried
... schema: { type: "json", model: { id: "id", fields: { c_pmchart: {type: "string", validation: { required: true }}, defi: { type: "string", validation: { required: false }, defaultValue: function () {return 'test value';} },...to set a field's defaultValue via an anonymous function but it di not work. Any ideas how to set deafultValues by a function ?
TIA