availity-reactstrap-validation icon indicating copy to clipboard operation
availity-reactstrap-validation copied to clipboard

a small roadblock in resetting the Date Field

Open manojkarri6 opened this issue 3 years ago • 0 comments

@TheSharpieOne , As specified in the issue #185, I am trying to implement the same for Date Field but I am having a small roadblock. Please find the details below and please let me know incase if there is any valid work around.

Scenario: If I enter the date and remove either MM or DD or YYYY, then I am seeing validation error - "This field is invalid" and here I am able to reset only the validation error but not the value in the input filed. Is there any work around to reset the Date Field as a whole(validation errors and input value)

Screenshot: 1 -

image

Screenshot: 2 -

image

Screenshot: 3 - Here if I click "Reset Date Field", the validation is removed but I still see the value in the input field 06/dd/2022 (highlighted in red color box)

image

manojkarri6 avatar Jun 23 '22 16:06 manojkarri6