Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

Daterangepicker Bug - Months Dropdown is not working


Hello,

https://preview.keenthemes.com/good/documentation/forms/daterangepicker.html

Normally, this component month selection via dropdown works but in good_html_v1.0.2 it doesn't work.

When I click, Jan months are seen but you can't select month from dropdown, you have to go right and left but https://www.daterangepicker.com/#examples it works. I think problem is about CSS coding.

How can I fix it?


<img src="https://i.ibb.co/GHrf68V/bug.png" alt="bug" border="0">


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi there,

The reason why you can't select the months is because we added an option where you can only select current and past dates (not future). Since 2022 just started (happy new year to you!) all months are disabled for selection.

If you want to select future dates, you'll need to remove the `endDate` parameter within the JS.



I am sorry but I use plugins.bundle.js where is this parameter, could you give me information?

Also, I can choose next month with arrows so there is no logic to use enddate because we can choose next month by arrows, one way or another there is a bug happy



Hi,

To customize the theme and its javascript code please refer to the documentation and set up the build tools:
Good Documentation

Then you can customize any js/sass code in the src folder and compile the assets using gulp task.

The Daterangepicker documentation examples are initialized in
src/js/custom/documentation/forms/daterangepicker.js

Regards


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(