Help articles

Input component is missing a required method (Studio v2)

This page documents the Studio v2 form-builder API. Current custom inputs do not implement a .focus() method; they spread props.elementProps onto the rendered element instead. See Custom components for Sanity Studio.

All input components should implement a .focus() method.

Read more about Custom input widgets

Was this page helpful?