It would be nice feature to be able to specify default props not only from parent component but also from uncontrollable function call. For example with a third argument:
var UncontrolledCombobox = uncontrollable(
Combobox,
{
value: 'onChange',
open: 'onToggle',
searchTerm: 'onSearch' //the current typed value (maybe it filters the dropdown list)
}, {
open: true,
searchTerm: '',
}
)
It would be nice feature to be able to specify default props not only from parent component but also from
uncontrollable
function call. For example with a third argument: