-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getOptions in service #5
Comments
{
name: 'x_id',
tableHidden: true,
formHidden: true
},
{
name: 'x_name',
keyColumn: 'x_id',
optionsUrl: environment.host + '/dict/x_names',
type: 'select-popup'
}, from back-end: [{ x_id: 123, x_name: name123 }] |
yes, it's exactly the same. The problem is that Promise does not populate the variable this._options at first, because it is still being rendered in the back end of the result, so the variable this.optionsCopy gets undefined. |
Is this error (undefined) displayed in the console? |
The input-option.component not working now. value is null in event valueChanged.
this.model ever null. |
Tks 👍 |
I'm using ASP NET CORE in back-end, when I call the method this.service.getOptions for populate select-options component.
Method:
This method receive one array the options.
But with the request processing time, the initial value becomes undefined, and thus does not populate the ModalSelectComponent.
Getting in load, however when clicking under the modal page, the already processed value is loaded normally.
What can be done for this case?
The text was updated successfully, but these errors were encountered: