Skip to content

Fix for #121 to redraw with proper defaults #644

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

Closed

Conversation

stanimoto
Copy link

The problem was that initialForm was used to generate a form on redraw
event, but when it was an object type, it was modified in-place by
rendering function. So, when the next redraw event happened, initialForm
already had the properties defined, and it prevented the default values
from being populated into them.

The problem was that initialForm was used to generate a form on redraw
event, but when it was an object type, it was modified in-place by
rendering function. So, when the next redraw event happened, initialForm
already had the properties defined, and it prevented the default values
from being populated into them.
@stanimoto stanimoto closed this Feb 25, 2016
@stanimoto stanimoto deleted the 121-fix-formdefaults branch February 25, 2016 17:27
@stanimoto stanimoto restored the 121-fix-formdefaults branch February 25, 2016 18:40
@stanimoto stanimoto reopened this Feb 25, 2016
@Anthropic
Copy link
Member

@stanimoto thanks for the pull request, can you remove the dist folder from the PR, we update that only prior to a release? Also if you are interested in getting involved in the project further we are currently planning the project's future in the Gitter.

ありがとう、
マルセルさん

@stanimoto stanimoto closed this Mar 3, 2016
@stanimoto stanimoto deleted the 121-fix-formdefaults branch March 3, 2016 06:36
@stanimoto
Copy link
Author

Thank you for your response, @Anthropic . I created a new one without the dist folder as #647 .
(Sorry if it is not the right way to do it since I'm not familiar with PR workflow on GH..)

@Anthropic
Copy link
Member

I saw it @stanimoto thanks, FYI you can amend a pull request without needing to submit again. But that's fine we just appreciate your efforts. I will confirm the commit or provide further feedback soon :)

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