# Get ref of an editor within the Form and handle onKeyDown event

## Environment

<table>
    <tbody>
	    <tr>
	    	<td>Product Version</td>
	    	<td>5.13.1</td>
	    </tr>
	    <tr>
	    	<td>Product</td>
	    	<td>Progress® KendoReact Form</td>
	    </tr>
    </tbody>
</table>

## Description

How can I get ref of a Form editor and its events in the context of the Form component.

## Solution

Pass custom properties to the Field component and access them within the custom component set to the "component" property of the Field. Within the custom component set the "ref" and the event handler.

Following is an example demonstrating this approach:

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/form/getting-editor-ref-and-keydown/source.txt)
