feat: add extend attribute to control element #293

This commit is contained in:
Hufe921
2023-10-12 21:17:27 +08:00
parent 6f2fb5de09
commit 0395a72fe6
4 changed files with 7 additions and 2 deletions
+2
View File
@@ -439,6 +439,7 @@ export class Control {
}
if (type === ControlType.TEXT) {
result.push({
...element.control,
value: textControlValue || null,
innerText: textControlValue || null
})
@@ -452,6 +453,7 @@ export class Control {
.filter(Boolean)
.join('')
result.push({
...element.control,
value: code || null,
innerText: innerText || null
})