Open weierophinney opened 4 years ago
@samsonasik I was looking on it, and it seems to be a bit more complex issue. It needs changes also in zf-apigility-admin. Basically we need add option haystack
in validator_metadata
config:
https://github.com/zfcampus/zf-apigility-admin/blob/master/config/module.config.php#L1400-L1403
but then also in admin-ui we need to add support for array option values (now it works only with bool/int/string)...
Originally posted by @michalbundyra at https://github.com/zfcampus/zf-apigility-admin-ui/issues/138#issuecomment-282259503
steps to reproduce:
foo
andbar
bar
field hasZend\Validator\Inarray
, as we can't set haystack via GUI, then set manually at module.config.phpfoo
field via GUIactual result: "haystack" option in
bar
validator definitions removed. expected result: "haystack" option inbar
validator definitions should not be removed.Originally posted by @samsonasik at https://github.com/zfcampus/zf-apigility-admin-ui/issues/138