tamble / jquery-ui-daterangepicker

A JQuery UI based date range picker.
MIT License
184 stars 110 forks source link

Option to not insert button and styling? #75

Open douglasg14b opened 7 years ago

douglasg14b commented 7 years ago

With the JQuery UI datepicker, you can instantiate it on an input element without it overriding the html/CSS of the element and inserting it's own button.

Can the date range picker do the same?

op16 commented 7 years ago

No.

douglasg14b commented 7 years ago

@op16 That's a very terse answer :/

Is there a workaround? Can this be a feature request?

op16 commented 7 years ago

There is no workaround. The reason is that the value of the text field is set to JSON representation of the date range. This would obviously look scary to most users. So the user-friendly form is used for the inserted button.

As you can imagine, your feature would require substantial modifications, so it's unlikely to get implemented.