Closed JimmyOei closed 2 months ago
Summary
This PR for the relation widget adds functionality for nested fields in the filters and also allows integer types for the values in the filters.
filters: [ { field: 'deeply.nested.field', values: ['Some text'] } ]
filters: [ { field: 'num', values: [1, 12, 20] } ]
Test plan
I added a unit test for the nested fields and for the integer type.
Checklist
Please add a x inside each checkbox:
x
A picture of a cute animal (not mandatory but encouraged)
Summary
This PR for the relation widget adds functionality for nested fields in the filters and also allows integer types for the values in the filters.
filters: [ { field: 'deeply.nested.field', values: ['Some text'] } ]
filters: [ { field: 'num', values: [1, 12, 20] } ]
Test plan
I added a unit test for the nested fields and for the integer type.
Checklist
Please add a
x
inside each checkbox:A picture of a cute animal (not mandatory but encouraged)![IMG_0381](https://github.com/decaporg/decap-cms/assets/72915212/544e7d95-558b-4eda-b1cb-a9e64dd34c54)