Date Picker: Truncated year field

  • dgspencer
    Asked on July 27, 2017 at 4:54 PM

    Now here is an interesting development:

    I am using the date picker element for a contract form.  Since it's a contract, the date of it being signed is set to the CURRENT DATE and is READ-ONLY.  However, I find that when I change the date to READ-ONLY (with LITE MODE OFF or ON),  it truncates the YEAR field and does not display the year.  BUT, if you add the TIME field, the YEAR field will re-appear.  It exhibits this behavior in its standard size or when shrunk.  

     

    Any ideas on this or is it a real bug?

     

    You can play with the one in the URL...don't really need that one.

  • Mike
    Replied on July 27, 2017 at 6:37 PM

    The issue might be related to your form theme styles.

    You can add the next CSS to fix this for a date picker field with the id_39 ID.

    #id_39 .form-sub-label-container {
    min-width: 28% !important;
    }