Closed vopani closed 9 months ago
0.26.0 on MacOS
Button is not primary if label is not set.
eg: Button1 isn't primary.
Button1 should be primary.
from h2o_wave import main, app, Q, ui @app('/demo') async def serve(q: Q): q.page['example'] = ui.form_card( box='1 1 4 10', items=[ ui.button(name='button1', icon='Search', primary=True), ui.button(name='button2', label='Search', icon='Search', primary=True) ]) await q.page.save()
Thanks @vopani! Does using an empty string for the label work as a workaround?
No it doesn't. Output is same.
Wave SDK Version, OS
0.26.0 on MacOS
Actual behaviour
Button is not primary if label is not set.
eg: Button1 isn't primary.
Expected behaviour
Button1 should be primary.
Steps To Reproduce