ScaffolderRJSFFormProps.onFocus
Home > @backstage/plugin-scaffolder-react
> ScaffolderRJSFFormProps
> onFocus
Sometimes you may want to trigger events or modify external state when a field has been focused, so you can pass an onFocus
handler, which will receive the id of the input that is focused and the field value
Signature:
onFocus?: (id: string, data: any) => void;