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

On editing Data, page stuck on saving user enters Decimal in Integer field and tries to save. #3777

Open
Obadha2 opened this issue Sep 27, 2019 · 0 comments

Comments

@Obadha2
Copy link

commented Sep 27, 2019

Describe the bug
When user tries to submit a response to a survey (on web) and they provide a decimal value in the integer field, and they click on Save, the user is notified of the error, but the save action appears to continue forever.

Where was the bug observed
msheria-stg.ushahidi.com
Happens in production, and steve-buscemi.ush environments too.

To Reproduce
Steps to reproduce the behavior:

  1. Submit a response to a survey that has an integer field. Enter a valid integer.
  2. Note that the response is submitted successfully.
  3. Click Edit to edit the response.
  4. In the Integer field, enter a decimal number.
  5. Click Save to persist the changes.
  6. Pop-up warns that Integer field has invalid value.
  7. Note that the pop-up has the message repeated. (See screenshot)
  8. Click Dismiss on the pop-up without waiting too long.
  9. The Saving buttons are inactive and user is unable to Save.
  10. User has to navigate away and come back for the button to be active.

Expected behavior
Once user sees and Dismisses the notification of invalid value, Save button should be active and they should be able to interact with it.

Is there a workaround? What is it.
Reload the page, or navigate away and back.

Screenshots
Error message repeated

Save button inactive

URL / Environment where this happened
https://msheria-stg.ushahidi.com/posts/3/edit

Desktop Hardware Details (please complete the following information):

  • OS: Ubuntu
  • Browser: Chrome
  • Version 77.0.3865.90 (Official Build) (64-bit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.