material-ui-chip-input icon indicating copy to clipboard operation
material-ui-chip-input copied to clipboard

When value prop is undefined it goes back to uncontrolled behaviour

Open Lyca0n opened this issue 5 years ago • 1 comments

I believe that a warning should be in place in the case of passing an undefined value prop, in case you do by mistake and you are dealing with your input in a controlled way, it will start ignoring your other event props like onAdd and others.

Lyca0n avatar Nov 08 '19 23:11 Lyca0n

I agree. 👍 You're not supposed to switch between controlled/uncontrolled. Material-UI also shows a warning if you try to do that.

leMaik avatar Nov 28 '19 21:11 leMaik