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

Allows you to have 0 as a option #7701

Merged
merged 2 commits into from
Mar 16, 2017
Merged

Conversation

Corefix
Copy link
Contributor

@Corefix Corefix commented Dec 6, 2016

Corrects validation of options, to allow you to have 0 as a value.

If you have for example sizes and you have a size 0 which some brands are using, right now this wont validate if you try and save it in the admin since empty also validates 0 as both interger, float and string as being empty.

Corrects validation of options, to allow you to have 0 as a value
@vrann vrann self-assigned this Mar 15, 2017
@vrann vrann added this to the March 2017 milestone Mar 15, 2017
@magento-team magento-team merged commit c5cddd9 into magento:develop Mar 16, 2017
@okorshenko
Copy link
Contributor

@Corefix thank you for your contribution

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

Successfully merging this pull request may close these issues.

4 participants