Skip to content

Commit 6562ac5

Browse files
committed
fix bug with list input
1 parent 92caac2 commit 6562ac5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/inputFields/fields/List/ListInput.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
1010
let addValue: string = '';
1111
12+
export function updateValue(v: string[]) {
13+
value = v;
14+
}
15+
1216
function add() {
1317
value.push(addValue);
1418
// call with copy of array

src/parsers/newInputFieldParser/InputFieldParser.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ export class DeclarationParser {
136136

137137
private parseTemplate(closure: PT_Closure): void {
138138
const validationContext = this.validateNodeAndThrow(closure, this.templateValidationGraph);
139+
140+
// TODO
139141
}
140142

141143
private parsePartialDeclaration(closure: PT_Closure): void {

0 commit comments

Comments
 (0)