Project

General

Profile

Actions

Bug #36557

closed

React does not recognize the `ouiaId` prop on a DOM element

Added by Ron Lavi about 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Fixed in Releases:
Found in Releases:

Description

After introducing an eslint rule to find all of the missing ouiaIds, we added that prop to components that passes it straight to the DOM, which causes an error like the following:

react-dom.development.js:88 Warning: React does not recognize the `ouiaId` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `ouiaid` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
in button (created by Button)
in Button (created by SubscriptionsToolbar)

Actions

Also available in: Atom PDF