When using EuiCodeEditor inside of EuiFormRow there is no convenient way to assign a an id to the textarea.
In places Kibana has started to shim this after render but inconsistently and in Kibana probably isn't the best place to do this anyway.
Example of what I mean: editor_example.tsx#L34-L45
I'm not sure what the best solution is here because I know EuiCodeEditor has its hands tied by react-ace a little. Will probably need to explore if the best solution can be implemented in EuiCodeEditor or in EuiFormRow.
When using
EuiCodeEditorinside ofEuiFormRowthere is no convenient way to assign a an id to thetextarea.In places Kibana has started to shim this after render but inconsistently and in Kibana probably isn't the best place to do this anyway.
Example of what I mean: editor_example.tsx#L34-L45
I'm not sure what the best solution is here because I know
EuiCodeEditorhas its hands tied byreact-acea little. Will probably need to explore if the best solution can be implemented inEuiCodeEditoror inEuiFormRow.