Can caretColor be changed in DateSegment? #9224
Unanswered
nilshartmann
asked this question in
Q&A
Replies: 1 comment
-
|
Can you explain why you need the caret color to change? If you go to the TimePicker example you linked to, inspect the dom, and set the caret color to black, you'll see that it doesn't really move in a meaningful way since Left/Right Arrow move by an entire segment, so I'm curious if I'm missing some reason for it. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
in useDateSegment, the
caretColorCSS attribute is set totransparent.If I understand correctly, the segment props are read in DateSegment and applied as style prop directly to the
DateField'sspan, so it cannot be changed from outside.Is it somehow possible to change the value? In the TimePicker example, the
caret-coloris also set totransparent, but I think I wouldn't override the value from thestyleproperty when set to a different value thantransparent.Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions