code4romania / code4romania/covid-19-ro-help

Phone field accepts invalid phone number formats

Open
#218 0 comments 0 reactions 1 assignee Claimed by @AlecsGherghel View on GitHub
back-end bug low-priority
Dominant language
Python
Stars
20
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Starting point: http://dev.rohelp.ro/en/admin/hub/ngo/

**Expected**:
When adding a NGO, Phone field should accept only phone number formats consisting of digits only with or without plus sign.

**Actual**:
When adding a NGO, Phone field appears as a requirement, though it accepts invalid phone number formats, characters or even email address.

![Screenshot 2020-04-01 at 17 24 27](https://user-images.githubusercontent.com/61550276/78149174-5a4cd300-743e-11ea-9e40-931244a328bf.png)

![Screenshot 2020-04-01 at 17 23 36](https://user-images.githubusercontent.com/61550276/78149197-6173e100-743e-11ea-85d0-019b9b2faf54.png)

![Screenshot 2020-04-01 at 17 25 21](https://user-images.githubusercontent.com/61550276/78149214-66d12b80-743e-11ea-9b18-768db6b86377.png)

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.