Closed hugochougt closed 8 years ago
@bebraw OK. I am going to close this PR.
No worries. I'll try to get this fixed in the next few days. 👍
@bebraw regarding the warning, just to let you know I changed the first line of render()
from:
const {value, ...props} = this.props;
to:
const {value, onEdit, ...props} = this.props;
This way onEdit
was removed from ...props
and everything worked like a charm.
The
{...props}
pattern is there for a reason, but we could refactor it out. Another way to solve the warning would be to extract it from props before it gets toinput
. I have to give this some careful thought.Thanks for pointing this out.