I'd like to pass in items that have already been selected on render. So for instance:
1) User selects emails and moves away from selectize component, and selected emails go into a state.
2) User decides to go back to selectize component to choose another email.
3) I'd like to make it so that the emails that have already been chosen from the previous session are passed through so that the chips can re-render and it looks like the first session.
Hope this makes sense. There is a way to pass in a list of emails to choose from, but there is no way- that I can see- to pass in a list of items that have been chosen already so that the chips will render right away.
I'd like to pass in items that have already been selected on render. So for instance:
1) User selects emails and moves away from selectize component, and selected emails go into a state. 2) User decides to go back to selectize component to choose another email. 3) I'd like to make it so that the emails that have already been chosen from the previous session are passed through so that the chips can re-render and it looks like the first session.
Hope this makes sense. There is a way to pass in a list of emails to choose from, but there is no way- that I can see- to pass in a list of items that have been chosen already so that the chips will render right away.