☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Is it possible to change the "type" of the text input widget to date?

Community Support
Jeremy_Bowyer
Jeremy_Bowyer

Right now I’m using a basic text input to allow the user to provide a start and end date for my app, and then I coerce the string into a date format in python. Is there any way to have bokeh use a type=“date” element instead of type=“text”?

⌁   Link to post
Bryan
Bryan

Hi,

There's nothing currently like that in the built in text input, but you could make a custom extension to do that:

  http://bokeh.pydata.org/en/latest/docs/user_guide/extensions.html

Thanks,

Bryan

···

On Mar 12, 2017, at 12:54, Jeremy Bowyer <jeremybowyer@gmail.com> wrote:

Right now I'm using a basic text input to allow the user to provide a start and end date for my app, and then I coerce the string into a date format in python. Is there any way to have bokeh use a type="date" <input> element instead of type="text"?

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/1ff8658f-9c39-473e-b2c3-0e58eccb9bd8%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Jeremy_Bowyer
Jeremy_Bowyer

Thanks for the reply. I’m something of a novice when it comes to programming (particularly python), but I’ll take a crack at it.

···

On Sunday, March 12, 2017 at 4:29:27 PM UTC-4, Bryan Van de ven wrote:

Hi,

There’s nothing currently like that in the built in text input, but you could make a custom extension to do that:

    [http://bokeh.pydata.org/en/latest/docs/user_guide/extensions.html](http://bokeh.pydata.org/en/latest/docs/user_guide/extensions.html)

Thanks,

Bryan

On Mar 12, 2017, at 12:54, Jeremy Bowyer jeremy...@gmail.com wrote:

Right now I’m using a basic text input to allow the user to provide a start and end date for my app, and then I coerce the string into a date format in python. Is there any way to have bokeh use a type=“date” element instead of type=“text”?

–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/1ff8658f-9c39-473e-b2c3-0e58eccb9bd8%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post

End of archived discussion · Replies are disabled