Skip to content

Commit

Permalink
fix: For TextArea control have made the value input a textarea and no…
Browse files Browse the repository at this point in the history
…t a single input[type=text] value. Formatting of TextAreas is now preserved.

Update src/js/form-builder.js

Co-authored-by: James Lucas <james@lucas.net.au>
  • Loading branch information
2 people authored and Richard Shine X250 committed Nov 24, 2023
1 parent 08a56ce commit 8da4cb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/js/form-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,6 @@ function FormBuilder(opts, element, $) {

let attrVal = values[attribute] || ''
let attrLabel = mi18n.get(attribute) || attribute
const typeVal = values['type'] || ''

if (attribute === 'label') {
if (textArea.includes(values.type)) {
Expand Down

0 comments on commit 8da4cb5

Please sign in to comment.