-
Couldn't load subscription status.
- Fork 959
Closed
Milestone
Description
The second combobox doesn't offer any drop-down options:
Code to reproduce the above:
import ipywidgets
print(ipywidgets.__version__)
display(ipywidgets.Combobox(options=['OptionA','OptionB']))
display(ipywidgets.Combobox(options=['"Option A"','"Option B"']))@vidartf pointed out the issue is here, with html escaping:
ipywidgets/packages/controls/src/widget_string.ts
Lines 534 to 536 in 6be18d9
| const optLines = opts.map(o => { | |
| return `<option value="${o}"></option>`; | |
| }); |
Metadata
Metadata
Assignees
Labels
No labels
