react-widgets icon indicating copy to clipboard operation
react-widgets copied to clipboard

React 15.2.0 and unknown props

Open tylergoodman opened this issue 10 years ago • 3 comments

Several of the widgets pass down invalid props as described here. Here's some of the ones I've run into:

In Multiselect:

Warning: Unknown props caseSensitive, ariaActiveDescendantKey on <div> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop in div (created by Multiselect) in Multiselect (created by Uncontrolled(Multiselect)) in Uncontrolled(Multiselect)

Warning: Unknown prop searchTerm on <input> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop in input (created by MultiselectInput) in MultiselectInput (created by Multiselect) in div (created by Multiselect) in div (created by Multiselect) in Multiselect (created by Uncontrolled(Multiselect)) in Uncontrolled(Multiselect)

Warning: Unknown props onOpening, duration, onClosing, onClose, onOpen on <div> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop in div (created by Popup) in Popup (created by Multiselect) in div (created by Multiselect) in Multiselect (created by Uncontrolled(Multiselect)) in Uncontrolled(Multiselect)

and in DateTimePicker:

Warning: Unknown props editFormat, editing, culture, parse, textValue on <input> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop in input (created by DatePickerInput) in DatePickerInput (created by DateTimePicker) in div (created by DateTimePicker) in DateTimePicker (created by Uncontrolled(DateTimePicker)) in Uncontrolled(DateTimePicker)

tylergoodman avatar Jul 01 '16 23:07 tylergoodman

Also triggers for busy prop on Multiselect

vdh avatar Jul 04 '16 01:07 vdh

It looks like this was fixed in v3.3.4 by 62c1fe6

vdh avatar Jul 12 '16 03:07 vdh

This isn't fixed for me. How can I fix it?

Warning: Unknown props editFormat, editing, culture, parse, textValue on tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop in input (created by DatePickerInput)

Warning: Unknown props duration, onOpening, onClosing, onClose, onOpen on

tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop in div (created by Popup)

for more see https://github.com/jquense/react-widgets/issues/601

FBosler avatar Jul 09 '17 09:07 FBosler