Custom stencil seems broken in 3.8
See original GitHub issueType of issue: (check with “[x]”)
- New feature request
- [X ] Bug
- Support request
- Documentation
Current behaviour: Custom stencil that works with 3.6 and 3.7 does not load with 3.8
Expected behavior: Custom stencil should load in the form of a search button.
Steps to reproduce the issue: Upgrade to 3.8, create a new process.
Component name and version: process-services/lib/form/form.component.ts - 3.8
constructor(
...
private formRenderingService: FormRenderingService
) {
formRenderingService.setComponentTypeResolver('crm_search_primary', () => SearchConstituentButtonComponent, true);
}
Our code matches the examples: from demo-shell and from the yo generator. Once upgrading to 3.8 we get an error message in the form instead of the search button: Unknown type: crm_search_primary
UPDATE: I commented out the providers block in process-services/lib/form/form.component.ts and the problem goes away.
@Component({
selector: 'adf-form',
templateUrl: './form.component.html',
encapsulation: ViewEncapsulation.None,
providers: [
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
]
})
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (12 by maintainers)
Top Results From Across the Web
Is CustomStencil broken? - Rendering - Unreal Engine Forums
I needed to enable stencils in the project settings. Go to Project Settings > Rendering > Post Process > Custom Depth-stencil Pass and...
Read more >Amazon.com : Custom Stencils Personalized Text ...
Amazon.com : Custom Stencils Personalized Text Stencils for Spray Painting Multi-Use Letter Stencils for ... Customer Reviews, 3.8 out of 5 stars 35Reviews....
Read more >Custom circular stencil - Footprints - KiCad.info Forums
I am wondering if it is possible to create a custom paste mask that is shown ... [SOLVED] "Broken Ring" pattern in paste...
Read more >Create, save, and share custom stencils - Microsoft Support
The new custom stencil appears in the Shapes window. Make any changes that you want to the stencil. To save your changes, right-click...
Read more >Errors when running npm install & broken live preview with ...
Can not get the Stencil CLI environment setup up smoothly any more. Main error seems to be Error: Undefined variable: "$theme-background-color".
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 FreeTop 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
Top GitHub Comments
It seems to be a bug with multiple instances of ProcessFormRenderingService in memory. Investigating a way to fix it.
Thanks - everything seems to work!