mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 01:25:00 +02:00
fix(ui): allow input month with keystrokes (#5785)
Signed-off-by: p-fernandez <pablo.fernandez.otero@gmail.com>
This commit is contained in:
@@ -118,6 +118,7 @@
|
||||
if (edit.value === -1 && full && i > 2) result = true
|
||||
if (edit.value === -1 && !full && i < 3) result = true
|
||||
if (i === 0 && edit.value === 0) result = true
|
||||
if (i === 1 && edit.value === 0) result = true
|
||||
if (i === 2 && (edit.value < 1970 || edit.value > 3000)) result = true
|
||||
})
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user