UI Builder: The date picker is always displayed in red.

mugi-san
Kilo Sage

Hello, Eveyone.

 

I have placed a date picker field using UI Builder.

Currently, the border is always displayed in red, both when the field is empty and after a date has been entered. Additionally, a red shadow appears on the background when typing in the field.

Since this is not actually an error, does anyone know which options or settings I should check to remove this error-like styling?

Note: I tried changing the border to black using CSS, but it didn't seem to work.

Regards.

1 ACCEPTED SOLUTION

mugi-san
Kilo Sage

Hi, Everyone.

We needed to change the following setting to true.

 
[Manage invalid]

When true, overrides automatic updates to the invalid property.


regards,

View solution in original post

3 REPLIES 3

yashkamde
Mega Sage

Hello @mugi-san ,

 

many Next Experience/UI Builder components use Shadow DOM and design tokens, so overriding the border with standard CSS often does not work if the component is currently in an invalid state.

 

could you plz share a screenshot of the component configuration in UI Builder?

Hi, @yashkamde .
Thank you for your reply. The settings are as follows.
Please let me know if you need any other screenshots.

mugisan_0-1780479077494.png


Default

mugisan_0-1780480639666.png

On Focus

mugisan_1-1780480669676.png

 



Regards.

mugi-san
Kilo Sage

Hi, Everyone.

We needed to change the following setting to true.

 
[Manage invalid]

When true, overrides automatic updates to the invalid property.


regards,