You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
The rc-select is replaced by the DynaSelect in the react-schema-form implemented with Autocomplete.
The concept of extending the react-schema-form without touching the source repo still works and it is demo in the repo. However, it looks like the effort is not adjustable. If someone wants to add now form component, please submit a PR in the react-schema-form.
react-schema-form-rc-select
The RcSelect is an add-on of react-schema-form, and it supports both single and multiple select with async retrieval data from the Internet APIs. It is a demo for extending react-schema-form with new components externally.
It is a react-schema-form field component that wraps around rc-select
Features
Single select or multiple select with an option to add new items
Static dropdown values defined in schema or form
Dynamic dropdown values in JSON format load from the same server or Internet by get or post request
Dynamic dropdown values enriched on the API server when schema/form is loaded.
This module is an extension of react-schema-form, and it must be called from react-schema-form to handle rc-select form type. It shows how to customize the react-schema-form to add a new field and map a new form type to it. Please see App.js in the example folder for the details.