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 saving of empty multi select input #6899

Closed
wants to merge 2 commits into from
Closed

Fix saving of empty multi select input #6899

wants to merge 2 commits into from

Commits on Oct 6, 2016

  1. Fix saving of empty multi select input

    When you save an empty multi select input originally it sent an empty array, which was filtered out
    by the magento2-base/lib/web/mage/utils/objects.js::flatten() method and it was not sent to the
    backend for save. This fix changes the empty array to an empty string, which will be passed to
    the backend and it saves it as empty value properly
    Norbert Nagy committed Oct 6, 2016
    Configuration menu
    Copy the full SHA
    b380502 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2016

  1. Fix issue with undefined values

    Norbert Nagy committed Oct 7, 2016
    Configuration menu
    Copy the full SHA
    9e4eb01 View commit details
    Browse the repository at this point in the history