I'm using react-select and react-select-async-paginate in a form to create a select.
In the form I have a problem about the required field. How can I set the field to be required?
<div>
<Label id="app">Application (*)</Label>
<SelectAsyncPaginate
value={isNew ? choosenApp : backApp.appCod}
onChange={(app) => {
setChoosenApp(app);
}}
isNew={isNew}
/>
</div>;
For the other part of the form I set the required using the AvGroup (of reactstrap), but not works good with the select.
How can I set the field required?