Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter Form Builder duplicate attribute error #92

Closed
shrutikateiosys opened this issue Jul 12, 2019 · 3 comments
Closed

Flutter Form Builder duplicate attribute error #92

shrutikateiosys opened this issue Jul 12, 2019 · 3 comments

Comments

@shrutikateiosys
Copy link

Field with attribute '50' already exists. Make sure that two or more fields don't have the same attribute name.
flutter: 'package:flutter_form_builder/src/form_builder.dart':
flutter: Failed assertion: line 64 pos 12: '_fieldKeys.containsKey(attribute) == false'.

i am trying to remove element from list which is added dynamically. but after removing element using setstate it reload my dynamic widget so throw error of duplicate attrubute value. what can i do ?

@danvick
Copy link
Collaborator

danvick commented Jul 12, 2019

Which version are you using?

@danvick
Copy link
Collaborator

danvick commented Jul 12, 2019

Kindly use the latest version where the assertion has been removed.

@danvick danvick closed this as completed Jul 12, 2019
@shrutikateiosys
Copy link
Author

shrutikateiosys commented Jul 15, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants