Skip to content

Load initial options by default #24

Open
@AkselMeola

Description

@AkselMeola

It would be very useful if the initial options in responsive mode could be loaded without specifying a non-empty default value.

At the moment the initial Ajax call is only done if there's a value. But in case there is no sensible default and the initial options depend on some other field/parent then nothing is loaded.

I think there should be an option to load initial options either using parent field value or by providing the initial query parameters to the field.

As of now:

// FormField.vue

// If field is responsive, do we have any initial values
if (this.field.value) {
    return this.loadInitialOptions(this.field.value);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions