nb-datepicker min/ max date bypassed by direcetly editing input value
- Linguagem predominante
- TypeScript
- Estrelas
- 8.1k
- Forks
- 1.5k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
### Issue type
**I'm submitting a ...** (check one with "x")
* [ x] bug report
* [ ] feature request
### Issue description
Max/ min on `nb-datepicker` allows user to pick date in a range, but the range could be bypassed easily by directly editing the input value. For example: `min="2017-07-01"` and `max="2019-07-20"`. A user picks 2019-06-05 but edit the value in the input to 2010-01-01 and the form is valid to proceed.
**Current behavior:**
Allows users to add any date by directly editing the input value and bypass the min/max range.
**Expected behavior:**
Make the input invalid if the value is out of range.
**Steps to reproduce:**
**Related code:**
```
```
### Other information:
**Angular, Nebular**
```
Angular 8 & Nebular 4
```
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.