Skip to content

Commit 851231c

Browse files
committed
fixed unique key for chips
1 parent 40cebc5 commit 851231c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/form_builder_extra_fields/lib/src/fields/form_builder_chips_input.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class FormBuilderChipsInput<T> extends FormBuilderField<List<T>> {
7474
final state = field as _FormBuilderChipsInputState<T>;
7575

7676
return ChipsInput<T>(
77+
key: UniqueKey(),
7778
initialValue: field.value!,
7879
enabled: state.enabled,
7980
decoration: state.decoration,

0 commit comments

Comments
 (0)