🐛 Keeping in state the selected collaborators
This commit is contained in:
parent
740a523fad
commit
a6268d36d1
@ -112,10 +112,7 @@ export default class CreateFolder extends BasePage<IProps, IState> {
|
|||||||
options={this.collaboratorsOptions}
|
options={this.collaboratorsOptions}
|
||||||
placeholder="Sélectionner les collaborateurs pouvant accéder au dossier"
|
placeholder="Sélectionner les collaborateurs pouvant accéder au dossier"
|
||||||
onChange={this.onCollaboratorsChange}
|
onChange={this.onCollaboratorsChange}
|
||||||
defaultValue={{
|
defaultValue={this.state.formValues.collaborators ?? []}
|
||||||
label: "John Doe",
|
|
||||||
value: "john_doe",
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user