remoteoss / json-schema-form

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

fix: Remove conditional attributes after the condition is unmatched #57

Closed sandrina-p closed 8 months ago

sandrina-p commented 8 months ago

Description

Fixes #56

How? When the fields get updated after parsing each conditional, compare the conditional attrs to the previous base field attrs. If an attr in the prev base is no longer present in the conditional, then remove it.

sandrina-p commented 8 months ago

@remoteoss/json-schema-form@0.7.3-beta.0 released 📦