We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.5.1 复选框,jsonSchame设置了default,formData也有值,resolve构造出来的formData 是default的,并不是formData的 复现方法 jsonSchema: "{"type":"object","title":"","x-config":{"type":"static"},"properties":{"title":{"type":"string","title":"标题","default":999},"description":{"type":"string","title":"描述"},"guideToFliggyClients":{"type":"array","title":"哪些客户端引导至飞猪","items":{"type":"string"},"enum":["ALIPAY","TAOBAO","ALL"],"enumNames":["支付宝","淘宝","所有非飞猪"],"default":[]}},"titleBackup":"静态数据 - 对象类型示例"}"
formData: {"title":"1","description":"2","guideToFliggyClients":["ALIPAY","TAOBAO"]}
调用resove(jsonSchema, formData) 之后得到的是 {"title":"1","description":"2","guideToFliggyClients":[]}
The text was updated successfully, but these errors were encountered:
fixed
Sorry, something went wrong.
FateRiddle
No branches or pull requests
v0.5.1
复选框,jsonSchame设置了default,formData也有值,resolve构造出来的formData 是default的,并不是formData的
复现方法
jsonSchema: "{"type":"object","title":"","x-config":{"type":"static"},"properties":{"title":{"type":"string","title":"标题","default":999},"description":{"type":"string","title":"描述"},"guideToFliggyClients":{"type":"array","title":"哪些客户端引导至飞猪","items":{"type":"string"},"enum":["ALIPAY","TAOBAO","ALL"],"enumNames":["支付宝","淘宝","所有非飞猪"],"default":[]}},"titleBackup":"静态数据 - 对象类型示例"}"
formData: {"title":"1","description":"2","guideToFliggyClients":["ALIPAY","TAOBAO"]}
调用resove(jsonSchema, formData) 之后得到的是
{"title":"1","description":"2","guideToFliggyClients":[]}
The text was updated successfully, but these errors were encountered: