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

Address Field clear button doesn't work before field is saved #68

Closed
BenParizek opened this issue Nov 14, 2018 · 1 comment
Closed

Address Field clear button doesn't work before field is saved #68

BenParizek opened this issue Nov 14, 2018 · 1 comment
Assignees
Labels

Comments

@BenParizek
Copy link
Member

Description

Currently, the clear button works fine after a field is saved but doesn't always behave as expected if it is used while someone is editing and address and has not yet saved the Entry Element the address field is being used on.

Steps to reproduce

  1. Add an address
  2. Save it from the modal but don't save the entry
  3. Hit clear
  4. Save the entry
  5. The address you added will appear even though you cleared it before you saved the entry.
@pdaleramirez
Copy link
Contributor

@BenParizek I fixed the bug

Tested adding address to address field on new entry and hitting clear button after, then saving entry. The address field shows empty now after saving the entry.

Also tested on existing entries and clear button. Still same behavior comes up an empty address field.

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

No branches or pull requests

2 participants