Skip to content

Commit 5ce66fc

Browse files
authored
🩹 Fix wrong tag index in TagsInput when updated via python (#3862)
1 parent cecd2b0 commit 5ce66fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: ‎packages/controls/src/widget_tagsinput.ts

+1
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ abstract class TagsInputBaseView extends DOMWidgetView {
167167
this.tags = [];
168168

169169
const value: Array<any> = this.model.get('value');
170+
this.inputIndex = value.length;
170171
for (const idx in value) {
171172
const index = parseInt(idx);
172173

0 commit comments

Comments
 (0)