sadevana / best-to-do-ever

0 stars 0 forks source link

Erroneous Input Allowed in Date, Time, and Gold Fields on 'Add Task' Screen #37

Closed AAKrasnova closed 10 months ago

AAKrasnova commented 12 months ago

Description:

The input fields for Date, Time, and Gold on the 'Add Task' screen currently accept letter characters. This can lead to invalid data entries, potential system crashes, or data inconsistencies.

Steps to Reproduce:

Navigate to the 'Add Task' screen. Click on the Date, Time, or Gold input fields. Try entering letter characters (e.g., 'abcd'). Observe that the system allows for these characters to be entered without restriction.

Expected Behavior:

The Date field should only accept valid date formats and not allow letter characters. The Time field should only accept valid time formats (e.g., HH:MM) and reject letter characters. The Gold field should only accept numeric values, it should not accept letter characters.

Actual Behavior:

All three fields (Date, Time, and Gold) allow letter characters to be inputted without restriction.

AAKrasnova commented 11 months ago

From: Testing @AAKrasnova OK

AAKrasnova commented 10 months ago

Documented: https://github.com/sadevana/best-to-do-ever/commit/1ef1a6b8268b062c2b5f3ae18c18e788c21e26b3