Closed eason9 closed 6 days ago
To create a PR, you can clone the repo, update the line, or edit it directly on Github. Some help is provided here: https://holoviz-dev.github.io/panel/developer_guide/index.html
This is, of course, only if you want to make a PR.
ALL software version info
Panel - 1.4.5 Python - 3.9.19
Description of expected behavior and the observed behavior
Many of the datetime widgets produce an error when the input value is deleted.
Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
Here's an example error from pn.widgets.DateRangePicker:
ine 443, in _process_param_change msg['value'] = tuple(self._convert_date_to_string(v) for v in msg['value']) TypeError: 'NoneType' object is not iterable
Solution
It looks like there was an oversight regarding the possible input parameter values. Pretty easy to fix this, and I just wanted to mention it / idk how to add a PR. For example DateRangePicker can be fixed with: