UI extension to show how to change visibility for other fields and use fieldConfig
Deploy the code to Vercel, or run locally, and install on GraphCMS as a UI extension using the URL to your index page as the URL for your extension, and run the compatibility test.
You can get started with our hosted example, but you should deploy and maintain this on your own host: https://graphcms-uix-conditional-field.vercel.app/
Follow the guide on working with GraphCMS UI extensions.
npx degit graphcms/graphcms-examples/uix-conditional-field uix-conditional-field
Install & Run:
cd uix-conditional-field
npm install
npm run start
# or
cd uix-conditional-field
yarn
yarn start