Skip to content
Snippets Groups Projects
Commit b5136dc4 authored by Yannis Barlas's avatar Yannis Barlas
Browse files

feat(ui): add inner ref prop to textfield

parent 8b850ddc
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@ class TextField extends React.Component {
}
render() {
const {
innerRefProp,
label,
type = 'text',
value = '',
......@@ -64,6 +65,7 @@ class TextField extends React.Component {
{label && <Label htmlFor={this.inputId}>{label}</Label>}
<Input
id={this.inputId}
innerRef={innerRefProp}
readOnly={readonly}
type={type}
value={value}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment