Transform is not triggered after item is added
See original GitHub issueI have an issue where the transform is not triggered when I’m adding new item. See the code below, I don’t even see the console.log fired… Ideas ? Could it be a combination of all different features used? v. 0.9.6
.html
<tag-input [ngModel]="role.users" id="roleUsers" name="roleUsers" #roleUsers="ngModel"
[onlyFromAutocomplete]="true"
[placeholder]="'Add a user'"
[secondaryPlaceholder]="'Add a user'"
(onAdd)="addUser($event, i)"
(onRemove)="removeUser($event, i)"
[transform]="transform">
<tag-input-dropdown
[autocompleteObservable]="requestAutocompleteItems"
[autocompleteItems]="userAutocompleteItems">
<template let-item="item" let-index="index">
{{ item.display }}
</template>
</tag-input-dropdown>
</tag-input>
.js
public transform(item: string): string {
console.log("in transformer: ",item);
return `@${item}`;
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Solved: 'When an item is created or modified' trigger not
When I submit a new entry to the list, or modify an existing item, the Flow will not automatically trigger. The only way...
Read more >"When an item or a file is modified" trigger is not working
When an item or a file is modified trigger is not working. We run the flow manually, update the document library...but the flow...
Read more >Transform Map- Data is not inserted or updated in - ServiceNow
Solved: Hello I am working on Data Source and while doing Transform Map I am using destination table as one of the User...
Read more >asp.net - Web Config Transform not working - Stack Overflow
Right click on your web.config and select Add Config Transforms - this will create a dependant transformation config for each of your configurations...
Read more >Microsoft Power Automate Flow Trigger Conditions - Thrive
It's common to use the 'When an item is created or modified' trigger when creating Flows for SharePoint with Power Automate.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Seems like its working great now. Thanks @Gbuomprisco
It does happen when adding items using the autocomplete