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:
@@ -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
|
||||
})
|
||||
|
||||
@@ -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()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user