h2oai / wave

Realtime Web Apps and Dashboards for Python and R
https://wave.h2o.ai
Apache License 2.0
3.98k stars 328 forks source link

Give all widgets the name parameter #2350

Open mtanco opened 3 months ago

mtanco commented 3 months ago

Is your feature request related to a problem? Please describe

It is very common to update parameters of components throughout the app usage lifecycle. This is most easily done with the name parameter, but not every component has that parameter. This means new-er users to the framework will learn about updating with the name component: q.page["test"].my_component.content = "hey" but then have no idea what to do when name is not there.

They can ("of course") use the old index method: q.page["test"].items[2].textbox.value="hey" but this is harder and often Wave users that joined after the 1.0.0 release will not know about this.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Resolved question: https://github.com/h2oai/wave/discussions/2338

Will-Marriott commented 3 months ago

Hi - could I grab this issue, please?

anirudhmehra12 commented 1 month ago

hey i want to fix this issue

akhilk2802 commented 3 weeks ago

hey can you assign this issue to me