Component which switch between all built-in DORF fields.
There are 4 base fields + additional ones, passed with DorfConfigService. This component groups all those fields
in order to speed up HTML template creation. Only one field will be visible at a time.
It is possible to include custom HTML code between component's tags.
Component which switch between all built-in DORF fields. There are 4 base fields + additional ones, passed with DorfConfigService. This component groups all those fields in order to speed up HTML template creation. Only one field will be visible at a time. It is possible to include custom HTML code between component's tags.
<dorf-field [metadata]="fieldMeta"> <star-rating *ngIf="fieldMeta.tag === 'star-rating'" [metadata]="fieldMeta"></star-rating> </dorf-field>