I have a requirement where I need to custom style date field (Read-only), I’m unable to find where I can apply custom styling.
In below image, i want to make “23 june,2023” → “23 june,2023” How can i change font-weight and color of ready-only date?
I have a requirement where I need to custom style date field (Read-only), I’m unable to find where I can apply custom styling.
In below image, i want to make “23 june,2023” → “23 june,2023” How can i change font-weight and color of ready-only date?
@pacchi Do use existing control and / or label formats over any helper classes or css overrides. You can also make changes in the skin or extend style sheets from the skin. The .dataLabelForRead selector comes to mind if you want to style specific read-only elements (which will need the right amount of specificity to avoid worse ripple effects).
Hi @BasRulesMatter! ,
Date format when we use display type as label
Thanks,
Prashanth
@pacchi To follow up:
Instead of using the most global selector .dataLabelForRead**,** you’ll need nested selectors (you can use dev tools to identify which selectors are used for a certain element and play with that). There are some obvious drawback to this, mostly maintainability and level of expertise needed
@BasRulesMatter! Great, thanks mate it worked!!