Field Help as Html text & Help Position (#115)

* Field Help as Html text & Help Position

* Re-organize field options modal

* put margin for above help
This commit is contained in:
Chirag Chhatrala
2023-04-19 13:43:50 +05:30
committed by GitHub
parent 5e7eb60674
commit 3f2fe352e8
23 changed files with 124 additions and 40 deletions

View File

@@ -268,6 +268,7 @@ export default {
field.placeholder = field.placeholder || null
field.prefill = field.prefill || null
field.help = field.help || null
field.help_position = field.help_position || 'below_input'
return field
})

View File

@@ -295,6 +295,7 @@ export default {
if (['select', 'multi_select'].includes(this.blockForm.type)) {
data[this.blockForm.type] = {'options': []}
}
data.help_position = 'below_input'
this.$emit('block-added', data)
this.close()
},