I'm trying to retrieve the current selected/saved index of my AutoConnectSelect Right now i'm creating a type that reads the saved json:
AutoConnectSelect& bright = settingsAux["scr_brightness"].as<AutoConnectSelect>();
How can i get the index of the element selected in bright as an integer?
bright.value and bright.value() are both invalid in this context.
Any help or insight into how these types work would be appreciated.
bright.selectedand see what that does.