Handles all control updates by setting a new selected value for the variable.
To maintain immutability for React, lets first clone the variable,
update its selected value, then set it back to the variables array.
Doing so allows each control to handle its own shouldComponentUpdate
method to determine if it should be re-rendered.
The variable to update.
The new selected value.
Generated using TypeDoc
Toggles the enabled status of remote sharing.