Closed easeq closed 5 years ago
React-select does not show the asynchronously loaded options on initial click.
reactselect: { type: "field", renderer: "react-select", name: "reactselect", label: "Select or Create a Module", route: "/module", configSource: (formikProps, { route }) => new Promise(( resolve, reject ) => ( resolve({ options: { one: [{ label: "One", value: 1 }, { label: "Two", value: 2 }, { label: "Three", value: 3 }] } }) ) ), formGroupClass: "form-group mb-4", isCreatable: true, options: [{ "value": "", "label": "" }], fieldClass: " min-select" }
On clicking react-select, the select should open and display all the loaded options.
Describe the bug
React-select does not show the asynchronously loaded options on initial click.
To Reproduce
Expected behavior
On clicking react-select, the select should open and display all the loaded options.