Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Date parameter cannot be edited with ipywidgets<6 #44

Open
ceball opened this issue Jun 17, 2017 · 1 comment
Open

Date parameter cannot be edited with ipywidgets<6 #44

ceball opened this issue Jun 17, 2017 · 1 comment

Comments

@ceball
Copy link
Member

ceball commented Jun 17, 2017

ipywidgets introduced DatePicker in version 6.0. When using paramnb with ipywidgets before 6.0, you get a text widget - and when the string is passed to param.Date you get a validation error because it's not a datetime.

I guess the two options are either to ignore this (things change so fast we can't support old ipywidgets, right?) or for paramnb to create a datetime from the string.

@philippjfr
Copy link
Member

Having tried @jbednar's recent notebook I've also noticed that it's not working correctly even with ipywidgets 6.0 at least under some conditions. Haven't yet investigated further.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants