Eonasdan/bootstrap-datetimepicker arrow icon not showing on Safari and showing blue squares on Chrome

后端 未结 3 2095
攒了一身酷
攒了一身酷 2021-01-15 22:09

My Datetime picker is working fine but the arrow to navigate through time and day are not showing properly.

Safari

Chrome

I\'ve tried to set back th

3条回答
  •  抹茶落季
    2021-01-15 22:33

    maybe there's no glyphicon in your boostrap or something wrong with it so that nothing happend, first workaround is: implement fontAwesome then set:

    $('.yourSelector').datetimepicker({         
         fontAwesome:'font-awesome'     
    });
    

    second workaround: open boostrap-datetimepicker.js then replace

     headTemplateV3:   '' +
                          '' +
                          ' ' +
                          '' +
                          ' ' +
                          '' +
        '',
    

    width

    headTemplateV3:   ''+
                        ''+
                            ''+
                            ''+
                            ''+
                        ''+
                    '',
    

    good luck!

提交回复
热议问题