You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two separate date pickers on the same page, and I need to target each with different custom styles. As written in the docs, the only way to add custom styles is via global styles and not scoped local styles. That might still be ok, but it doesn't seem like there's any way to add a special classname to the datepicker, which would allow me to have the global styles target each specific usage.
So my question is, if I have to use global styles and I can't add a custom class name, how can I have multiple datepickers with different styles on the same page?
The text was updated successfully, but these errors were encountered:
@ljharb the issue with this is that wouldn't affect the actual popup, it would only affect the original input. The popup is rendered I guess via a portal and is not a descendant of the original parent
I have two separate date pickers on the same page, and I need to target each with different custom styles. As written in the docs, the only way to add custom styles is via global styles and not scoped local styles. That might still be ok, but it doesn't seem like there's any way to add a special classname to the datepicker, which would allow me to have the global styles target each specific usage.
So my question is, if I have to use global styles and I can't add a custom class name, how can I have multiple datepickers with different styles on the same page?
The text was updated successfully, but these errors were encountered: