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

initialValue for FormBuilderChipsInput #233

Closed
brizaldi opened this issue Feb 27, 2020 · 3 comments
Closed

initialValue for FormBuilderChipsInput #233

brizaldi opened this issue Feb 27, 2020 · 3 comments

Comments

@brizaldi
Copy link

Hi, i have a list of object, how can i set it as initialValue for FormBuilderChipsInput?

@danvick
Copy link
Collaborator

danvick commented Feb 27, 2020

The initial value of FormBuilderChipsInput should be a List<T> of the Objects expected as input.

@brizaldi
Copy link
Author

does the initial value have to be the same instance as List of the objects in input?
i tried to insert list of object from api as initial value, but it seems FormBuilderChipsInput doesnt see it as their own list

@danvick
Copy link
Collaborator

danvick commented Feb 28, 2020

Yes. The same object type expected as the output should be used as initial value.

@brizaldi brizaldi closed this as completed Mar 2, 2020
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