'How to make react select usefieldArray generic and react-select control
control: Control<{
selected: Input[]
}>
fields: FieldArrayWithId<
{
selected: Input[]
},
'selected',
'id'
>[]
**I want to come up to like this **
control: Control<T>
fields: FieldArrayWithId<T>[]
But i am sure i am doing it wrong and this not the right way to do, to make it generic
Maybe this is a noob question but i do really need your help thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
