Skip to content

Usage of Ref #132

@halukapaydin

Description

@halukapaydin

Usage on ref on Header.jsx file throw an exception. (Element ref was specified as a string (input) but no owner was set.)
usage of ref be like below
on line 85
- ref="input"
+ ref={ref => {this.refInput = ref}}
on line 49
- this.refs.input.focus();
- this.refs.input.select();
+ this.refInput.focus();
+ this.refInput.select();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions