Skip to content

React 16 warnings #280

Open
Open
@DavidBeale

Description

@DavidBeale

How would you expect it to work?

No dev tools warnings

How does it work currently?

Warning: Invalid DOM property `readonly`. Did you mean `readOnly`?
    in input (created by t)
    in span (created by t)
    in div (created by t)
    in t (created by Typeahead)
    in span (created by Typeahead)
    in Typeahead (created by ManagedInput)
    in ManagedInput
printWarning 

checkPropTypes.js:19 Warning: Failed prop type: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.
    in input (created by t)
    in span (created by t)
    in div (created by t)
    in t (created by Typeahead)
    in span (created by Typeahead)
    in Typeahead (created by ManagedInput)
    in ManagedInput
printWarning 

warning.js:33 Warning: React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.

Tell us about your environment

  • Version used: latest, React 16

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions