add time estimationcontentgood first issueux/ui
倉庫指標
- 星標
- (23 顆星)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
based on https://github.com/hasadna/avid-covider/issues/16#issuecomment-602023958:
- אין בדיקת שפיות האם התאריך הגיוני (גם יחסית למועד תחילת המגיפה וגם בעתיד יחסית לחולה הספיציפי)
expected solution: when setting a date input, enable an input validation with the following parameters:
- min date (earliest valid date) - manual / relative*
- max date (latest valid date) - manual / relative*
- default value: manual / relative*
- error message to be displayed when the entered date is not legal, before asking the user again
relative dates: today, today - x days, today + x days
related to #24