Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<script type="text/javascript" src="https://cdn.jsdelivr.net/jquery/latest/jquery.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/momentjs/latest/moment.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
@LarryAzevedo

This comment has been minimized.

Copy link

LarryAzevedo commented Dec 20, 2018

@dangrossman I know this is being super picky but there's no need to have type="text/javascript" or type="text/css". Those have been depricated for a while now.

@monsaad

This comment has been minimized.

Copy link

monsaad commented May 6, 2019

ok

@leekeifuture

This comment has been minimized.

Copy link

leekeifuture commented Jan 21, 2020

Why didn't you mention Font Awesome here? After all, Font Awesome is needed to display the calendar icon in picker

@dangrossman

This comment has been minimized.

Copy link
Owner Author

dangrossman commented Jan 21, 2020

This library has no calendar icon or any other icons. It does not make use of Font Awesome.

@leekeifuture

This comment has been minimized.

Copy link

leekeifuture commented Jan 21, 2020

After adding Font Awesome in in page, icon of calendar is appear in datarangepicker input field
image

@dangrossman

This comment has been minimized.

Copy link
Owner Author

dangrossman commented Jan 21, 2020

There are no input fields in this library. That's your own webpage where you happen to be using the library. That icon was not added by the picker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.