I find you using inner state to manage the value of input and value props does not work. But value props can still work when use state to manage value. And there are many cases need to use value props like reset a value, etc. So I add the value props.
It's a nice component, I'd like to write a similar component for vue. 😄
I find you using inner state to manage the value of input and value props does not work. But value props can still work when use state to manage value. And there are many cases need to use value props like reset a value, etc. So I add the value props. It's a nice component, I'd like to write a similar component for vue. 😄