Interface FormComponentDefaultValueResolver

All Known Implementing Classes:
FormComponentDefaultValueResolverImpl

public interface FormComponentDefaultValueResolver
  • Method Details

    • getDefaultFormValueFor

      Optional<Object> getDefaultFormValueFor(Field field)
      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.