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

Fix for variant option not updating when edited #2687

Merged
merged 4 commits into from
Aug 18, 2017

Conversation

foladipo
Copy link
Contributor

@foladipo foladipo commented Aug 16, 2017

Resolves #2582

This PR fixes a bug with creating options for product variants. Previously, editing an option did not update parts of the UI. This PR fixes that bug.

Testing steps

  • Log in as admin.
  • Open the panel for editing a product.
  • Create a new variant option and try to edit its option or price form field. Immediately you hit Enter, click elsewhere on the page or hit Tab, the UI is updated with the text or price you added to the form field.

@foladipo foladipo changed the title [WIP] update the displayed variant option/price when it is changed by a user Fix for variant option not updating when edited Aug 16, 2017
@@ -49,9 +49,11 @@ Template.childVariantForm.helpers({
Icon() {
return Components.Icon;
},

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we not add in these line breaks for no reason?

@brent-hoover
Copy link
Collaborator

@foladipo So this is an example of where we want to make sure and loop back on these PR's quickly. Let's try to make the one change I requested and get this merged? You should almost always prioritize dealing with PR feedback over almost anything.

@foladipo
Copy link
Contributor Author

So sorry for the delay @zenweasel . I've now cleaned out the unnecessary line breaks and pushed the update.

@brent-hoover brent-hoover merged commit 47400ec into marketplace Aug 18, 2017
@brent-hoover brent-hoover deleted the folusho-fix-variant-option-bug-2582 branch August 18, 2017 10:04
@spencern spencern mentioned this pull request Oct 11, 2017
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