Skip to content

list field url change #2634

@ooo4321

Description

@ooo4321

i have this simple list field in a form:

"somefieldinaform": {
type: 'list',
label: 'something',
options: {
url: https://api.something,
minLength: 0,
}
},

i added an onchange method to the form and this code :

let field = this.get('somefieldinaform');
field .options.url = 'https://something.else';
this.refresh();

The problem is that the field does not register the change i think i need to reload the field somehow after the change, what is the correct way to reload the field after url change ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions