WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 4 months ago

#53172 new defect (bug)

React-dom mistake

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

Description

http://prntscr.com/12isc2j
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
5 months ago

  • Component changed from General to Editor

#2 @desrosj
4 months 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
4 months 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.