remoteoss / json-schema-form

https://json-schema-form.vercel.app
MIT License
70 stars 7 forks source link

Allow deeply nested if property checks #33

Closed brennj closed 11 months ago

brennj commented 11 months ago

Internal conversation https://remote-com.slack.com/archives/C02HTN0LY02/p1691493090023339

When we have a if check that needs to check two levels deep, it would break the json-schema-form library, this adds a check to checkIfConditionMatches to make it more capable to do understand these property types.

Theres enough logic to justify its own file, and I started some dedicated tests.