- [ ] use computed properties in useState to calculate selectedInputVars etc based on the other props