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

我在实际项目中的表单使用 searchSelect组件遇到的问题 #611

Closed
hy916 opened this issue Mar 4, 2022 · 1 comment
Closed

Comments

@hy916
Copy link
Contributor

hy916 commented Mar 4, 2022

如果在表单中使用searchSelect,disabled状态为true,也就是禁用的状态下样式不会自适应输入框大小。

{
              label: 'searchSelect',
              key: 'searchSelect',
              widget: 'searchSelect',
              option: option,
              disabled:true,
              widgetProps: {
                mode:"multiple",
                onSearch: handleSearch.bind(this,'searchSelect'),
                onChange: (value) => console.log('changevalue', value),
                onSelect: (value) => console.log('selectvalue', value),
                loading: loading,
                allowClear: true,
                showSearch: true,
                style:{ width:"100%" }
              },
            },

image

@nullptr-z
Copy link
Collaborator

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

2 participants