Skip to content
New issue

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

[Bug Report] x-slot无法支持SchemaStringField导致 @formily/element Input 的插槽不能使用 #4217

Open
1 task
ksh033 opened this issue Sep 9, 2024 · 0 comments

Comments

@ksh033
Copy link

ksh033 commented Sep 9, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<script> import { Input, Form } from "@formily/element"; import { createForm } from "@formily/core"; import { FormProvider, createSchemaField } from "@formily/vue"; const { SchemaField } = createSchemaField({ components: { Input, FormItem: Form.Item, }, }); export default { components: { FormProvider, SchemaField }, data() { return { form: createForm(), }; }, }; </script>

What is expected?

input框有前缀

What is actually happening?

input前缀无效

Package

@formily/[email protected]


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant