Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

How to use datetime picker with blazor


which js needs to load


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


Hi,

Thank you for reaching out to us.

All js code need to use datetime picker is already included, you can just add your custom js file to initialize your datetime pcker input.

Here is Flatpicker example: https://preview.keenthemes.com/html/metronic/docs/forms/flatpickr#datetime

Regards,
Lauris Stepanovs,
Keenthemes Support Team



But it is not working with blazor sample application (Starterkit) metronic_blazor_v8.1.5_demo1.



Hi,

Sorry for the late reply.

To use flatpickr you need to load plugins/global/plugins.bundle.js, this file should be loaded by default.

Did you made any changes to our codebase?

Regards,
Lauris Stepanovs,
Keenthemes Support Team



not i havent changed any js , can you give me some peace of code (blazor)



Hi,

Could you please specify which building tools are you using?
Guild or Webpack

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(