Skip to content

Input value won't save if *initiallyOpened* is set to Always #74

@jpgutti

Description

@jpgutti

Describe the bug
When opened by default, the assembly option won't save the information in the orderForm.

To Reproduce

  1. Have a product with customization enabled
  2. Set the prop initiallyOpened and ensure that it's rendering open.
  3. Add a custom text or option according to the customization that you've set.

Expected behavior
Expected to value/option to persist to the checkout.

Screenshots
In the image below, I've selected both options that sums value to the product, in both cases the first option(which is pre-selected) is free.
Screen Shot 2020-11-11 at 19 10 13

When I go to the checkout page:
Screen Shot 2020-11-11 at 19 10 26

Additional context
Ps: The Bug also occurs if the customization is a text input

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions