Open hmpmarketing opened 1 year ago
Hi,
I have been trying to get an scheme with default object properties but cant seem to get to work. Here is what I have:
const schema = { settings : { type: 'object', properties: { property_1 : { type: 'object', properties: { auto: { type: 'string', default: '0' }, size: { type: 'string', default: '5' } } }, property_2 : { type: 'object', properties: { auto: { type: 'string', default: '0' }, size: { type: 'string', default: '5' } } } } } }
Can anyone help?
Hi,
I have been trying to get an scheme with default object properties but cant seem to get to work. Here is what I have:
Can anyone help?