Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Unable to set value from props #10

Open
vicentedealencar opened this issue Feb 29, 2016 · 1 comment
Open

Unable to set value from props #10

vicentedealencar opened this issue Feb 29, 2016 · 1 comment
Labels

Comments

@vicentedealencar
Copy link

I needed a button to set the state of a masked input and have some trouble. I see there is demo for <Autocomplete /> but not to <Mask />, is it not trivial?

What I ended up doing to make it work was to change that line to if (value) { and it got working. I am not sure of what bugs this change may cause, but I couldn`t get this block to run other way.

Maybe I missed something.

@alexkuz
Copy link
Owner

alexkuz commented Feb 29, 2016

Yeah, I haven't tested it as a controlled component, actually, it's quite possible it's not working properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants