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
I have a 2D grid of information. I have locations which make up "columns" and widgets which make up "rows". Every column needs an input within the column. My naive solution was to Subscribe to locations in the row, and then display an input for each column.
Making the row an array of inputs doesn't work because it treats the inputs as sparse, due to not calling pushValue on each row's array when adding a new column. I could potentially manage this using listeners, especially if I had the previous value. This is significantly more difficult for swapValue, etc.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I have a 2D grid of information. I have locations which make up "columns" and widgets which make up "rows". Every column needs an input within the column. My naive solution was to Subscribe to locations in the row, and then display an input for each column.
Making the row an array of inputs doesn't work because it treats the inputs as sparse, due to not calling
pushValueon each row's array when adding a new column. I could potentially manage this using listeners, especially if I had the previous value. This is significantly more difficult for swapValue, etc.I'd be curious to hear solutions for this!
All reactions