Interface FormComponentDefaultValueResolver
- All Known Implementing Classes:
FormComponentDefaultValueResolverImpl
public interface FormComponentDefaultValueResolver
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultFormValueFor
(Field field) Evaluates and returns the default value for the passed component.
-
Method Details
-
getDefaultFormValueFor
Evaluates and returns the default value for the passed component. The default value can be set in the entity model and in the form model. - If the entity model and the form model have defined a default value for a certain field/relation, the default value from the form model will be returned.
-