Skip to content

If DataSearch is rendered in a Layer nested in another form, it always has a form label and doesn't filter data properly #7054

@taysea

Description

@taysea

If DataSearch is rendered in a Layer nested in another form in the React Tree (such as a scenario where Data is rendered within a wizard form), it always has a form label and doesn't filter data properly. It seems there's an error with the noForm condition.

Expected behavior would be that DataSearch only renders with label when it's inside a DataForm specifically.

Seen here: https://codesandbox.io/s/hardcore-spence-rdgvql?file=/src/App.js

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions