appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: Required DatePicker Field in JSON Form Is Marked With Red on Form Load

Open ame-appsmith opened this issue 4 months ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

When having a DatePicker field in a JSON Form with the Required property enabled, the red border is shown on page load, before the user gets to interact with the form. For other fields such as text inputs, the red border shows up only after the user interacts with the field and leaves it empty.

image

Steps To Reproduce

  1. Create a JSON Form and configure one of the empty fields to be of type DatePicker.
  2. Leave it empty by default and refresh the page (or place the JSON Form inside a modal and open the modal on button click).
  3. Note that the DatePicker field has a red border, whereas other required text input fields do not show the red border before the user interacts with them.

Ticket

Public Sample App

No response

Environment

Production

Severity

Low (Cosmetic UI issues)

Issue video log

No response

Version

v1.47

ame-appsmith avatar Oct 18 '24 11:10 ame-appsmith