Description
This is an enhancement of #33032 to add additional configuration options
Acceptance Criteria
At an entity level the user should be able to override/configure the following:
i. Filtering: Should allow user to indicate which specifications to apply when returning data.
ii. Display property - Specifies which property to use as the display property for the entity (equivalent to placing EntityDisplayName attribute on a property)
For each of the entity's properties the user should be able to define the configure the following:
a. DisplayFormat - Format string to specify how the data should be formatted when rendered in read-only mode (equivalent to
DisplayFormat attribute)
I don't believe this is behaviour that is respected by our UI components but support for this can be implemented later as long as
we provide a mechanisms to specify the format
b. DefaultEditor - specifies the form component to use by default when the property is in edit mode (useful in cases where may not
want the usual default editor)
c. Reference List - only applies to reference list properties. Allows overriding the reference list to use.
d. For properties that reference other entity:
Entity type: Allow user to override the type that is referenced e.g. to a more specific sub-class.
Entity display text: specify an expression that returns the display text for the entity being referenced. This should be optional
Description This is an enhancement of #33032 to add additional configuration options
Acceptance Criteria
For each of the entity's properties the user should be able to define the configure the following: a. DisplayFormat - Format string to specify how the data should be formatted when rendered in read-only mode (equivalent to DisplayFormat attribute)
b. DefaultEditor - specifies the form component to use by default when the property is in edit mode (useful in cases where may not want the usual default editor) c. Reference List - only applies to reference list properties. Allows overriding the reference list to use. d. For properties that reference other entity: