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
This is how basic form elements render inside input group:
Unfortunately, that doesn't work with PRO form elements like CDatePicker:
Basically, we are not applying form-control class to the CDatePicker component and even if we do it wouldn't work out of the box. We could add similar class as form-control to the parent date-picker element but we also need to reset rules:
border:0;
border-radius:0;
padding:0;
Than inside we need to add these rules to the element with date-picker-input-group class:
Still, there are some differences with variables, where date picker uses it's own variables like -cui-date-picker-border-color, while other form elements use variables like -cui-border-color.
This is how basic form elements render inside input group:
Unfortunately, that doesn't work with PRO form elements like CDatePicker:
Basically, we are not applying
form-control
class to theCDatePicker
component and even if we do it wouldn't work out of the box. We could add similar class asform-control
to the parentdate-picker
element but we also need to reset rules:Than inside we need to add these rules to the element with
date-picker-input-group
class:Still, there are some differences with variables, where date picker uses it's own variables like
-cui-date-picker-border-color
, while other form elements use variables like-cui-border-color
.Lastly, this CSS rule:
might also have to include:
The text was updated successfully, but these errors were encountered: