Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

SyntaxError: positional argument follows keyword argument

$
0
0

@Iwas wrote:

dbc.Col(html.Div(id='myid',[



                html.P('text'),
                html.H4('text2'),
                html.P("text3"),
                html.H4('text4')



            ]),width={'size':1,'offset':1})

I want to have one and the same ID for all the html components in this division to be able to change/replace the entire children of the html division that comes before them (id: myid)

When I try to run this I get: SyntaxError: positional argument follows keyword argument.

Typically when I have this error I have not put my components in “[” but this time i did it correctly in my opinion?

Can someone correct me please! :slight_smile:

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles