Error while setting month title variant in DatePicker

Hello I am customizing a date picker and I am getting this error. The variant sets the gap and the font color in red. as you can see if I change the month only the right month changes, the other one gets frozen

Solved. I set the variant before to call the add Child and seems to be working ok. Just in case I left the bug here in case happened to someone else

I confirm that setting the customMonthTitleViewVariant after validation causes the display of two month titles, where one is stuck on the previous value.

I just fixed it in the following commit: