gitcoinco / gitcoinco/web

Job Compensation Expectation cannot be entered with some locales

Open
#9,163 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
776
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The page at https://gitcoin.co/settings/job does not properly accept "Compensation expectation (monthly / USD)" for locales that use "," as decimal separator and "." as thousands separator. The thousands separator also gets added automatically.

**To Reproduce**
Have a device or browser with a default locale where the "," is the decimal separator and "." is the thousands separator
enter a value for "Compensation expectation (monthly / USD)" above 1000.

**Expected behavior**
I expect the entered number to translate directly to the posted expected compensation.

**Screenshots**
![image](https://user-images.githubusercontent.com/1444810/122676560-ea5f6f80-d1de-11eb-9ab4-745207b549da.png)
![image](https://user-images.githubusercontent.com/1444810/122676574-efbcba00-d1de-11eb-8711-401452d57764.png)

**Desktop (please complete the following information):**

- OS: Windows 10
- Browser: Google Chrome
- Browser Version: 91.0.4472.106

**Additional context**

- Locale: nl_NL

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.