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

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”?

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 <[email protected]> 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 [email protected].
To post to this group, send email to [email protected].
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\.

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 [email protected] 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 [email protected].

To post to this group, send email to [email protected].

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.