Current usage of the input bindings doesn't permit updateActionButton to function properly and does not work at all for updateSelectInput.
We should fix this so these work well in toolbars.
Start with the button
Model the bindings on taskInputbutton:
taskButton.ts
need a find scope input binding (find in taskButton.ts)
getValue to get the value that needs to be sent to shiny
subscribe is where register eventListeners,
call 'callback' whenever the value changes
receiveMessage is what takes updates from shiny and reflects them on the UI (messages sent from session$sendInputMessage)
Decision Log:
- Do we need processDeps called on the inputs here like shiny?
- Should we add something like
fa-fw (fixed-width) class (a Font Awesome utility to keep the width the same even when the icon size changes) to deal with updating icons and keeping button size the same?