kevinchappell on wrapper-plugin
refactor: fix typo (compare)
kevinchappell on wrapper-plugin
merge master -- keep js folder … Move build to ESNext, drop babe… lint:fix and 48 more (compare)
dependabot[bot] on npm_and_yarn
chore(deps-dev): bump semantic-… (compare)
So just to follow up on @bhawana1994 's issue here...when you paste the double quotes into the Label attribute field and save it. On the designer it saves fine until you try to render. The pasted double quotes munge up the formBuilder JSON and it can't render correctly.
So, for some reason, when we replace the input DIV with a standard input type=text, pasting double quotes no longer causes an issue and the double quotes are escaped correctly by formBuilder.
These edits are in the form-builder.js at appx line 900...
if (attribute === 'label' && !opts.disableHTMLLabels) {
//inputConfig.contenteditable = true // replace label div with input by CA
//attributefield += m('div', attrVal, inputConfig).outerHTML
inputConfig.value = attrVal
inputConfig.type = 'text'
attributefield += <input ${attrString(inputConfig)}>
} else {
inputConfig.value = attrVal
inputConfig.type = 'text'
attributefield += <input ${attrString(inputConfig)}>
}