Optional fields should be allowed to be cleared out

Optional fields should be allowed to be cleared out, this is system-wide assumption in my opinion.

I ran into this when cleaning up the business information (for the test business I couldn't remove due to business not allowed to be deleted, there's already a feature request for that)

Steps to reproduce:

  1. Go to Edit Business > Contact info (optional) > Email
  2. Verify something has been added to the Email field (if not, do so and probably do a hard refresh of page)
  3. Remove that something in the Email field verified to exist in step 2
  4. Click Save button

ISSUE: Email field value doesn't change, it still displays the something added in step 1 above.

I suspect there's some code preventing the field to be set to an empty string, and I also noticed it checks for whitespace as well and doesn't allow updating to a string with just whitespace (space char). Thanks for considering addressing this.

Tagged:

Comments

  • Coach Jon
    Coach Jon Moderator admin

    Hello @msw,

    Thanks for reaching out! This is something our product team is currently aware of. The Email field should not say/be optional. We are currently working on fixing this bug.

    If you do want that field to be optional, I would suggest creating an idea post so that you can request that feature and others could vote on it going forward.

    Let us know if this helps!

    -Coach Jon

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.