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
SchemaRenderer 里面将 activeKey 和 defaultActiveKey 做了转换,导致自定义组件只要用到这两个 key 都可能导致异常,实际上amis-core 核心库没有任何逻辑跟这两个字段相关,只是在 amis-ui 有部分组件有这两个字段,amis-ui的逻辑不应该放在 amis-core 里面做兼容。
删除amis-core 里面对这两字段的特殊处理
The text was updated successfully, but these errors were encountered:
schema 里面不应该存在受控属性,把 value 装成 defaultValue 把 activeKey 转成 defaultActiveKey 看起来都正常啊
Sorry, something went wrong.
目前看来不需要移除,有问题可 reOpen 讨论
2betop
No branches or pull requests
是否关联于某个问题吗:
SchemaRenderer 里面将 activeKey 和 defaultActiveKey 做了转换,导致自定义组件只要用到这两个 key 都可能导致异常,实际上amis-core 核心库没有任何逻辑跟这两个字段相关,只是在 amis-ui 有部分组件有这两个字段,amis-ui的逻辑不应该放在 amis-core 里面做兼容。
预期的解决方案:
删除amis-core 里面对这两字段的特殊处理
The text was updated successfully, but these errors were encountered: