web-app icon indicating copy to clipboard operation
web-app copied to clipboard

Date fields allow inputs in formats which won't be accepted by BE

Open Abhirup-99 opened this issue 3 years ago • 3 comments

Description

The date fields being text fields accept all types of input. In the attachment below, I have added 3 types of input. The first two are technically correct but they are violations because of

  • it doesn't follow mm-dd-yyyy
  • it has a date that is invalid in the context as it's a future day. The last one is a text.

Steps to Reproduce

Try typing in the date fields. Don't assume the reader knows anything about the Mifos X Web App.

Expected Behaviour

Blocks you until you get the right input or right format.

Actual Behaviour

Doesn't block you.

Settings

  • Mifos X version:
  • Browser used:

Screenshots, if any

Screenshot from 2021-01-11 19-01-07

Abhirup-99 avatar Jan 11 '21 13:01 Abhirup-99

The issue can be easily solved by opening the calendar when those corresponding date fields are in focus. I can create a pr for this issue.

Abhirup-99 avatar Jan 11 '21 13:01 Abhirup-99

Can I work on this issue?

prathameshbhalekar avatar Feb 24 '21 11:02 prathameshbhalekar

Can I work on this issue?

@Abhirup-99 ?

prathameshbhalekar avatar Feb 26 '21 18:02 prathameshbhalekar