We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Having issues with generating a drop down on the users screen using Dynamic Form Extensions for Angular. The below code calls my API infinite number of times until I close the Edit or Create Modal window. Copied example from this page: https://docs.abp.io/en/commercial/latest/ui/angular/dynamic-form-extensions#formprop-r-any
import { Validators } from '@angular/forms'; import { ePropType, FormProp, FormPropList } from '@abp/ng.theme.shared/extensions'; import { Identity,IdentityCreateFormPropContributors, IdentityEditFormPropContributors } from '@volo/abp.ng.identity'; import { ClientsService } from '../../clients/clients/clients.service'; import { map } from 'rxjs/operators'; import { AbstractClassPart } from '@angular/compiler/src/output/output_ast'; const clientProp = new FormProp<Identity.UserItem>({ type: ePropType.String, name: 'ClientId', displayName: 'Client', isExtra: true, autocomplete: "off", defaultValue: "", options: data => { const service = data.getInjected(ClientsService); return service.getAll() .pipe( map(({items}) => items.map( client => ({key: client.name, value: client.id}) )), ); } }); export function clientIdPropContributor(propList: FormPropList<Identity.UserItem>){ propList.addByIndex(clientProp, 4); } export const identityCreateFormPropContributors: IdentityCreateFormPropContributors = { 'Identity.UsersComponent': [clientIdPropContributor], }; export const identityEditFormPropContributors: IdentityEditFormPropContributors = { 'Identity.UsersComponent': [clientIdPropContributor], };
The text was updated successfully, but these errors were encountered:
fix: avoid many fn calling problem
e1d20c7
#4865
refactor: set visible and value props to data of extensible table
107276c
resolves #4865
Hi @rsposato06
The problem will be resolved in v3.0.5 that will be released this week. Thanks for reporting 🙂
Sorry, something went wrong.
armanozak
mehmet-erim
No branches or pull requests
Having issues with generating a drop down on the users screen using Dynamic Form Extensions for Angular. The below code calls my API infinite number of times until I close the Edit or Create Modal window. Copied example from this page: https://docs.abp.io/en/commercial/latest/ui/angular/dynamic-form-extensions#formprop-r-any
The text was updated successfully, but these errors were encountered: