You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial, selected value of ui.tabs and ui.tab_card is always the first option.
Expected behavior
The selected option should be value if provided.
Steps To Reproduce
from h2o_wave import main, app, Q, ui
@app('/')
async def serve(q: Q):
q.page['tabs'] = ui.tab_card(
box='1 1 11 1',
items=[ui.tab(name=f'#{t}', label=t.upper()) for t in 'abc'],
value='c' # This is ignored and the 'a' will be selected
)
q.page['form_tabs'] = ui.form_card(
box='1 2 11 1',
items=[ui.tabs(
name='my_tabs',
items=[ui.tab(name=f'#{t}', label=t.upper()) for t in 'abc'],
value='c' # This is ignored and the 'a' will be selected
)],
)
await q.page.save()
Wave SDK Version, OS
Server and SDK 0.10.0
OS X
Actual behavior
Initial, selected value of
ui.tabs
andui.tab_card
is always the first option.Expected behavior
The selected option should be
value
if provided.Steps To Reproduce
Related, I think, to #349
The text was updated successfully, but these errors were encountered: