Date input with css rule for empty value behave like it has value on init #10640
Unanswered
alex-clear
asked this question in
Q&A
Replies: 1 comment
-
Please provide a codesandbox url to re-produce the issue. Only your code implementation on the input component does not help to investigate the root cause since it can be caused by 3rd party UI lib or side-effect global styling... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
We have form with input type
date
.We define them like below
As you can see we define
before
style via cssIf there is no value in input and input does not has focus in should show placeholder (which we pass as prop)
The case here that on form render, the value is empty (when we print value of input in console), but it behave like it has the value and does not shows placeholder at all
We register the form like below
version: 7.43.9
Any chance that anyone faced with such behaviour and can provide his solution?
Beta Was this translation helpful? Give feedback.
All reactions