Add default value for text widget

This commit is contained in:
nik 2021-10-21 12:42:03 +05:30
parent ff82ca032d
commit fc03b3bdcf

View file

@ -266,7 +266,7 @@ export const componentTypes = [
showOnMobile: { type: 'toggle', displayName: 'Show on mobile' },
},
properties: {
value: { type: 'code', displayName: 'Default value' },
value: { type: 'code', displayName: "Hello have a great {{moment().format('dddd')}} 👋 " },
placeholder: { type: 'code', displayName: 'Placeholder' },
},
validation: {