Skip to content

DynamicForm issue with fields that are not part of #1986

Open
@mrtnbrst

Description

@mrtnbrst

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.

Category

[x] Bug

Version

Please specify what version of the library you are using: [ 3.20.0 ]

If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.

Expected / Desired Behavior / Question

Like default SharePoint form, it should ignore fields in a section that do not exist (anymore).

Observed Behavior

DynamicForm crashes

Steps to Reproduce

Create section with default SharePoint form and add a column to a group that does not exist

Solution:
Add filter additional condition fieldCollection.includes(bsf)

.filter(bs => bs.fields.filter(bsf => hiddenByFormula.indexOf(bsf) < 0).length > 0)

Metadata

Metadata

Labels

status:working-on-itKnown issue / feature being addressed. Will use other "status:*" labels & comments for more detail.type:bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions