📱🚀 🧩 Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
10.94k
stars
1.43k
forks
source link
[Feature Request] 希望 json-schema 中的 x-validator 判断增加值是否在 x-compile-omitted 中 #4067
Closed
zynyy closed 4 months ago
What problem does this feature solve?
因为目前x-validator需要配置一些变量而这些变量在转换中不存在又希望变量使用的符号
{{}}
保持一致。但是目前 x-validator 无法在 x-compile-omitted 配置中生效 所以希望能支持忽视compile https://github.com/alibaba/formily/blob/ec5485f4612692c33d3a4de71a40ae45adce5bcc/packages/json-schema/src/shared.ts#L103 中增加判断What does the proposed API look like?
x-compile-omitted 能够对 x-validator 生效