Skip to content

Shipping address form trying to validate disabled/hidden fields #6872

@cizgidekiadam

Description

@cizgidekiadam

Preconditions

  1. Magento 2.1.1

Steps to reproduce

  1. Adding some fields with custom extension to shipping address form. By default, these fields hidden and disabled. These are depends on a select (address_type) input to being visible.
  2. Fill the form except custom fields (Still disabled and hidden)
  3. Click 'Next' button to submit form

Expected result

  1. Navigate to payment step with shipping address info

Actual result

  1. It is trying to validate hidden and disabled fields, so can not move on.
    If select other address_type option which is enabling and show fields, required validation errors shown up.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions