Enabling the module
Back end
Add the following dependency to your project's build.gradle
file:
dependencies {
implementation 'com.valtimo:form-view-model:12.1.0'
}
Front end
Add the following dependency to your project's package.json
file:
{
"dependencies": {
"@valtimo/form-view-model": "12.1.0"
}
}
Enable the feature toggle in your project's environment.ts file and expose the token:
featureToggles: {
enableFormViewModel: true
}
{
provide: FORM_VIEW_MODEL_TOKEN,
useValue: {component: FormViewModelComponent}
}
UI
Enable the feature for a form via the process-link menu
Last updated