This is a simple relation field, which autofills the relation value with the first entry available.
Deploy the code to Vercel, or run locally, and install on Hygraph as a UI extension using the URL to your index page as the URL for your extension, and run the compatibility test.
Follow the docs about Hygraph UI extensions.
npx degit hygraph/hygraph-examples/uix-autofill-relation uix-autofill-relation
Install & Run:
cd uix-autofill-relation
npm install
npm run start
# or
cd uix-autofill-relation
yarn
yarn start