Skip to content

feat: support value props#2

Merged
LeoEatle merged 2 commits intoLeoEatle:masterfrom
luyilin:master
Jan 15, 2019
Merged

feat: support value props#2
LeoEatle merged 2 commits intoLeoEatle:masterfrom
luyilin:master

Conversation

@luyilin
Copy link
Contributor

@luyilin luyilin commented Jan 12, 2019

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. 😄

Copy link
Owner

@LeoEatle LeoEatle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for your support. But I'd like to make it better.

@LeoEatle LeoEatle merged commit 0db850d into LeoEatle:master Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants