I noticed if that if I set up a preference with an enum data type, make it required, and provide an options list; in the IDE, the first option in the list is automatically entered as a default value. This is good, I thought. I was looking for a way to have a default value that was automatically entered that wouldn’t require user action . . . then I stumbled on this behavior. So I just ordered the options list such that the first item was the default value. In the IDE, this works and you don’t have to select a value since the first item on the list is already selected.
HOWEVER, in the app (Android), this is not the case. No value is selected automatically and the user does have to go in and make a selection. So, I would suggest one of 2 things:
make the app behave like the IDE and automatically select the first item of the options list thus not requiring a selection if the default is OK, or
have a way to define a default value from the options: list in a required preference enum input. I used the time honored trial and error method to see if this is already there with no success. Not 100% sure but I tried a few things like adding:
, default: ["5"]
Maybe this functionality is there and I just didn’t find it.