Library module with all the fields-related components.
This is DORF essence. Should be replaced when totally different HTML structure for fields needed (e.g. Angular Material with DORF).
This module exports FormsModule and ReactiveFormsModule and all the predefined DORF field components. This version of DORF module,
requires additional components, like dorf-field-wrapper and dorf-buttons.
Those can be defined and included on their own or through the following DORF declarations:
[DorfButtonsComponent, DorfFieldWrapperComponent].
It may be imported by forRoot method and then there is a possibility to define custom fields and CSS classes.
Library module with all the fields-related components.
This is DORF essence. Should be replaced when totally different HTML structure for fields needed (e.g. Angular Material with DORF). This module exports
FormsModuleandReactiveFormsModuleand all the predefined DORF field components. This version of DORF module, requires additional components, likedorf-field-wrapperanddorf-buttons. Those can be defined and included on their own or through the following DORF declarations:[DorfButtonsComponent, DorfFieldWrapperComponent].It may be imported by
forRootmethod and then there is a possibility to define custom fields and CSS classes.// DorfModule.forRoot({ css: { general: { form: "pure-form pure-form-aligned", group: "pure-control-group", error: "error-message" } }, dorfFields: [{ tag: StarRatingDefinition.TAG, definition: StarRatingDefinition, metadata: StarRatingMetadata }] })],