Commit 0053630
committed
fix(frontend): convert tags array to string for edit form reset
The tags input uses setValueAs to split a comma-separated string into
an array. When form.reset() received an array from the template data,
setValueAs tried to call .split() on the array, crashing the form.
Convert to a comma-separated string before resetting.
Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>1 parent 4079b11 commit 0053630
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments