silverstripe-admin
silverstripe-admin copied to clipboard
array is an invalid proptype for aria-label
https://github.com/silverstripe/silverstripe-admin/blob/be31300d49ec28520e9ff3aed2ccf4b35efae759/client/src/components/Button/Button.js#L10
Warning: Failed prop type: Invalid prop
aria-label
of typearray
supplied toButton
, expectedstring
. checkPropTypes.js:20
The children
prop is an array of all children. The button element's content model accepts all phrasing content except interactive content. The children prop could rightfully contain components/elements in this context.
Is this actually causing any problems? If so can you please describe what problems this is causing?
Errors in the console whenever this widget is used.