Tabs component - weird error

I think your error is here:

I would rewrite the following:

dcc.Tabs(
   id='tabs', value=1, children=[
      dcc.Tab(label='Label1', value=1),
      dcc.Tab(label='Label2', value=2)
   ]
),
html.Div(id='tab-output')

That is; I have my separate dcc.Tab components in a children list, you have a dictionary within a list. Hope it helps. :slightly_smiling_face:

PS: For future reference, if you put 3x ` in the beginning and end of your code entry, it will format your text as code for easier readability.:man_technologist:

1 Like