Dynamic configuration fields in app settings

Hi,

is there a plan to support a dynamic number of input fields in app settings? There are some use cases where such a functionality would help. A solution could be to use a similar syntax as in html for forms. This means to add brackets to the field id (e.g. "MyFieldId[]"). Additionally the settings dialog would allow to dynamically add fields that are defined that way and the "getProperty"-method would then simply return an array containing all configured values:

var aFieldValues = getProperty("MyFieldId")


Maybe Garmin could think about it.

Thanks!

Bye



  • Could you post a bit more about what you'd want this for (a use case)? Maybe there's an easier way to do what you want to do..

    For example, an alphanumeric string, with the different parts delimited in some way? Are you just looking for a way to get all the settings with one call?
  • Could you post a bit more about what you'd want this for (a use case)? Maybe there's an easier way to do what you want to do..

    For example, an alphanumeric string, with the different parts delimited in some way? Are you just looking for a way to get all the settings with one call?


    Basically I would like to have a user chosen number of configurations. Of course this can be achieved by a string input with a particular delimiter, but this is a workaround in my opinion. I was not posting this suggestion because there is no way around it but because it would improve the handling of settings.

    Use Case:

    A timezone widget allowing to configure a flexible number of timezones the user can scroll through. In the current implementation I would need to configure the settings per view (3 fields) via a separator in every configuration field, not very nice. With the dynamic fields concept a user can simply add as much fields he wants and configure every setting in one input, much more convenient.

    Bye
  • Former Member
    Former Member
    Hey,

    We don't have a any plans at the moment to implement this, but I've created a feature request for the team to look at.

    Thanks,
    -Coleman
  • Hey,

    We don't have a any plans at the moment to implement this, but I've created a feature request for the team to look at.

    Thanks,
    -Coleman


    Thanks!