Here you can find the steps necessary to add a new dynamic field to the framework
Step-by-step Adding the Field Type
Add the steps involved:
- Create a class file type in ui/src/app/field_framework/types
- Extend class from DynamicField
- Add logic and overwrites as seen fit
- Add the new type to the FieldTypes in ui/src/app/field_framework/types/dynamic-field.ts
- Add type constructor to ui/src/app/field_framework/types/field-factory.ts
Step-by-step Adding the Field Component
Add the steps involved:
- Go to ui/src/app/field_framework/components
- In console execute ng generate component <component-name>
- Modify the new component as seen fit
- Go to ui/src/app/field_framework/directive/field-generator.directive.ts
- Go to ui/src/app/field_framework/directive/field-generator.directive.ts
These are the basic steps to add a new fields, more complex fields, may required assistance from the development team. |
Related articles
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.