This repository was archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
This repository was archived by the owner on Oct 27, 2022. It is now read-only.
Can't pass onRenderCaret to InputPopup from Combobox #49
Open
@hakanderyal
Description
I've just upgraded to 5.x line from 4.x, and couldn't find a way to pass onRenderCaret
prop from Combobox
to InputPopup
.
I've fixed it with
const { onRenderCaret, onRenderPopup, inputPopupProps, styling, ...restProps } = this.props; const _onRenderCaret = inputPopupProps.onRenderCaret ? inputPopupProps.onRenderCaret : onRenderCaret; // {_onRenderCaret(styling, isActive, hover, caret)}
in render method of InputPopup, but not sure this matches the coding style of the project.
Am I missing something, or is it really missing?
Metadata
Metadata
Assignees
Labels
No labels