Although the parameter start is documented on Ol | Dash for Python Documentation | Plotly
the code below resulted in the following error. Can anybody explain if I was wrong, the docs, or the implementation?
Invalid argument
start
passed into Ol.
Expectedstring
.
Was supplied typenumber
.
I was told this would be similar to Issue with layout.Legend parameter "itemwidth" but I’d call it rather different.
def layout(**kwargs):
return dbc.Row(
[
list_item(1, “first item”),
list_item(2, “second item”),
]
)def list_item(number, text):
html.Ol(start = number)