react-selectrix
react-selectrix copied to clipboard
Add "onFetched" callback prop to control the ajax results with more flexibility
Right now you can't extract data from deeply nested keys. Only for first level keys by providing the nestedKey prop. If we create a "onFetched" ( any other name suggestion is welcome ) callback, that takes the fetched results as argument and returns an array of options to the component, we will have more flexibity.