Closed pascal-pfeiffer closed 3 months ago
h2o-wave 1.2.0
Minimum code example:
from h2o_wave import Q, app, main, ui @app("/") async def serve(q: Q): print(q.args) q.page['example'] = ui.form_card(box='1 1 2 2', items=[ ui.combobox( name="my_coolest_combobox", label="Selection", values=["choice1"], required=False, choices=["choice1", "choice2"], trigger=True, ), ui.button( name="i_am_a_button", label=( "Don't click me" ), primary=True, ) ]) await q.page.save()
When adding a new value to the combobox, I am getting: q.args: __wave_submission_name__:'i_am_a_button'
q.args: __wave_submission_name__:'i_am_a_button'
When selecting an existing value in the combobox, I am getting: q.args: __wave_submission_name__:'my_coolest_combobox'
q.args: __wave_submission_name__:'my_coolest_combobox'
In both cases, I would expect the __wave_submission_name__ to be `'my_coolest_combobox'``
__wave_submission_name__
Wave SDK Version, OS
h2o-wave 1.2.0
Actual behavior
Minimum code example:
When adding a new value to the combobox, I am getting:
q.args: __wave_submission_name__:'i_am_a_button'
When selecting an existing value in the combobox, I am getting:
q.args: __wave_submission_name__:'my_coolest_combobox'
Expected behavior
In both cases, I would expect the
__wave_submission_name__
to be `'my_coolest_combobox'``Steps To Reproduce