Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons that use richcombo update correctly values when it is rendered for the first time. #566

Merged
merged 1 commit into from
Jul 12, 2016

Conversation

antoniopol06
Copy link
Contributor

No description provided.

@antoniopol06
Copy link
Contributor Author

With this fix, I am not sure if the name of the method cacheValue is correct because I use it into _setValue.

@ipeychev
Copy link
Contributor

Just started reviewing :)

:octocat: Sent from GH.

@ipeychev
Copy link
Contributor

Hey @antoniopol06,

What exactly are you concerns? Are there any other options?

Thanks,

@jbalsas
Copy link
Contributor

jbalsas commented Jul 11, 2016

Shouldn't we be rendering based on the state and not on the cached value here?

@jbalsas
Copy link
Contributor

jbalsas commented Jul 11, 2016

Or was that what we had to do to support #515? In that case, the setState is there just to force a re-render?

@ipeychev
Copy link
Contributor

Yes, that line of code was part of #515.

@ipeychev
Copy link
Contributor

Thank you, pull request merged! See changes here.

:octocat: Sent from GH.

@ipeychev ipeychev merged commit 4c13775 into liferay:master Jul 12, 2016
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.

3 participants