Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#53172 new defect (bug)

React-dom mistake

Reported by: andrewpolnikov's profile andrewpolnikov Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords: reporter-feedback
Focuses: administration Cc:

react-dom.js?ver=16.13.1:1680 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.

Its not whole time, its happening sometimes.
I don’t understand why does this mistake appear

Change History (3)

#1 @SergeyBiryukov
3 years ago

  • Component changed from General to Editor

#2 @desrosj
3 years ago

  • Keywords reporter-feedback added

Hi @andrewpolnikov,

Welcome to Trac!

Can you provide some more information? The following questions would be helpful:

  • Which pages are you able to reproduce the issue?
  • Are you taking any specific actions when the error occurs, or is it on page load?
  • Does the issue happen with no plugins active?
  • Does the issue happen with a default theme active?

While the message mentions react-dom.js, it's unlikely the issue is in that file. Usually this means there is code somewhere else using something in this file incorrectly.

#3 @andrewpolnikov
3 years ago

Good day.
The error appears unexpectedly.
It may disappear after 1-2 updates.
Disabling and updating plugins doesn't change anything.
The react-dom theme is not used and methods from this file are not used either.

Note: See TracTickets for help on using tickets.