I'm submitting a ... (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request
Current behavior
When customizing the select template, it complains about missing formlySelectOptions. Obviously I am missing an import but don't know how to fix this.
Expected behavior
Rendering the select using a custom template.
Minimal reproduction of the problem with instructions
I have followed the following instructions https://formly.dev/guide/custom-formly-field
This works great for input but select is causing the issue with the missing pipe.
The formlySelectOptions pipe is part of FormlySelectModule which you may need to import:
import { FormlySelectModule } from '@ngx-formly/core/select';
@NgModule({
imports: [
...
FormlySelectModule,
],
})
export class AppModule { }
Thank you for the quick response. Perhaps adding a custom select as an example will be more appropriate than a input? By anyway, it is all good now.
Perhaps adding a custom select as an example will be more appropriate than an input?
why not or adding a note in the custom templates guide.
PR welcomed!
Most helpful comment
The
formlySelectOptionspipe is part ofFormlySelectModulewhich you may need to import: