-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 73.6.2
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Schemas
-
Tags:
-
Sprint:NOS 10.2.5, NOS 10.2.6
UPDATE THE CATALOG
USER STORIES
As a Studio user
When I scaffold a layout containing a property
- that makes use of the nuxeo-data-table-element
- that has the required constraint at schema level
Studio Designer reflects in the element's properties that the field is required
When I drag and drop a field in a layout
- that makes use of the nuxeo-data-table-element
- that has the required constraint at schema level
Studio Designer reflects in the element's properties that the field is required
Multivalued: required on data table element
Complex: required on all sub fields as web ui will send null, not empty.
Complex multivalued: required on data table element.
ACCEPTANCE CRITERIA
- Given that I create a schema that contains a multivalued property of any kind (boolean, text, date, etc)
- When I scaffold a layout containing this schema in a document or workflow task layout
- Then a nuxeo-data-table element is created and the element properties reflect that the property is required
- Given that I create a schema that contains a multivalued property of any kind (boolean, text, date, etc)
- When I drag and drop this property in a document or workflow task layout
- Then a nuxeo-data-table element is created and the element properties reflect that the property is required
- Given that I create a schema that contains a complex multivalued property
- with two subproperties of any kind (boolean, text, date, etc)
- and that only the complex property is marked as required
- When I scaffold a layout containing this schema in a document or workflow task layout
- Then:
- a nuxeo-data-table element is created and the element properties reflect that the property is required
- the sub properties are not marked as required
- Given that I create a schema that contains a complex multivalued property
- with two subproperties of any kind (boolean, text, date, etc)
- and that only the complex property is marked as required
- When I drag and drop this property in a document or workflow task layout
- Then:
- a nuxeo-data-table element is created and the element properties reflect that the property is required
- the sub properties are not marked as required
- depends on
-
NXS-5605 Fix catalog extractor
- Resolved
-
DESIGN-236 Required complex field - How to show users that it is required?
- Resolved
-
ELEMENTS-552 Handle required constraint in nuxeo-data-table element
- Resolved
-
NXS-4539 Allow multivalued complex fields to have the required constraint
- Resolved