mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Add default value for text widget (#1179)
* Add default value for text widget
* Revert "Add default value for text widget"
This reverts commit fc03b3bdcf.
t
* Remove extra space and add text widget
* add value at proper place and remove from display
This commit is contained in:
parent
a3d009236c
commit
8a51fe36ad
1 changed files with 2 additions and 1 deletions
|
|
@ -266,6 +266,7 @@ export const componentTypes = [
|
|||
showOnMobile: { type: 'toggle', displayName: 'Show on mobile' },
|
||||
},
|
||||
properties: {
|
||||
|
||||
value: { type: 'code', displayName: 'Default value' },
|
||||
placeholder: { type: 'code', displayName: 'Placeholder' },
|
||||
},
|
||||
|
|
@ -295,7 +296,7 @@ export const componentTypes = [
|
|||
showOnMobile: { value: false },
|
||||
},
|
||||
properties: {
|
||||
value: { value: '' },
|
||||
value: { value: "Hello have a great {{moment().format('dddd')}} 👋" },
|
||||
placeholder: { value: 'Placeholder text' },
|
||||
},
|
||||
events: [],
|
||||
|
|
|
|||
Loading…
Reference in a new issue