dschnelldavis/angular2-json-schema-form

Custom validation of dependent fields

emarkovskyi opened this issue · 0 comments

Issue type

I'm submitting a (check one):
[ ] Bug report
[] Feature request
[ ] Regression (something that used to work, but stopped working in a newer version)
[x ] Support request
[x?] Documentation issue or request

Is it possible to implement some custom validation rule for dependent fields?
so for example I want to check that some 'width' field is greater than or equal to 'height' field
The idea to store this inside schema as a validation rule, and do not handle this by "onChanges" for example
Txs!