-
Notifications
You must be signed in to change notification settings - Fork 18
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
update: added confirmation when a salary les than 10000 is entered #344
base: main
Are you sure you want to change the base?
Conversation
this.$store.dispatch('postRating', this.newRating) | ||
this.$router.push('/') | ||
} | ||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but make sure to have a confirmation from a frontend here like @Asam237 !
Also, it could be great to have those lines formatted maybe 🤔 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I will contact @Asam237 for confirmation.
For the code formatting will format it.
@Asam237 review from a frontend dev needed |
It adds three 0. simplescreenrecorder-2022-10-27_22.20.17.mp4 |
Hey! @LL-Etiane thanks for helping on this issue. I love the warning added when the user enters a funny amount We can use a prompt message to ask the user to verify his input but we cannot force the user to enter a different input. |
Any update here? |
This pull request ask for users confirmation when a salary amount less than 10000 is entered
Why ?
This is to prevent mistake inputs by users when they sometimes input amounts such as 250 or 1. This is to solve #343
How ?
Let us know how it does what it does