🐛 Keeping in state the selected collaborators

This commit is contained in:
Maxime Lalo 2023-04-18 15:24:39 +02:00
parent 740a523fad
commit a6268d36d1

View File

@ -112,10 +112,7 @@ export default class CreateFolder extends BasePage<IProps, IState> {
options={this.collaboratorsOptions}
placeholder="Sélectionner les collaborateurs pouvant accéder au dossier"
onChange={this.onCollaboratorsChange}
defaultValue={{
label: "John Doe",
value: "john_doe",
}}
defaultValue={this.state.formValues.collaborators ?? []}
/>
</div>
)}