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

🧐[问题] column定义中用了valueType: 'textarea',没效果 #3707

Closed
hairanze opened this issue Sep 21, 2021 · 5 comments
Closed

🧐[问题] column定义中用了valueType: 'textarea',没效果 #3707

hairanze opened this issue Sep 21, 2021 · 5 comments

Comments

@hairanze
Copy link

hairanze commented Sep 21, 2021

🧐 问题描述

我本地测试了pro-tabe里面用valueType: 'textarea',希望得到类似于antd中input的textarea的效果,但是测试几次都只是普通的text输入框,并不是textarea的效果。下面是我在code sandbox里面写的用例

💻 示例代码

{
title: '姓名',
dataIndex: 'name',
hideInTable: true,
valueType: 'textarea',
}

https://codesandbox.io/s/columnzhong-textareabu-sheng-xiao-v03yq?file=/App.tsx

@chenshuai2144
Copy link
Contributor

列配置里面的 textarea 就是 text, 查询表单里面放不下那么大的框

@ldwonday
Copy link
Contributor

ldwonday commented Dec 28, 2021

@chenshuai2144 这个希望可以支持,目前做的需求里面,好多需要查询里出现textarea,目前我都是自定义valueType,希望针对textarea可以设置一个参数控制下: {valueType: 'textarea', showType: 'input' | 'textarea'}。

@chenshuai2144
Copy link
Contributor

为什么会需要 textarea ,放不下吧?

@Scarlett-Liang-huatek
Copy link

我也在查询条件中需要用文本域,这个一直不展示的问题,原来是因为这个,害我找了好长时间

@LK19931225
Copy link

我也是查询表单需要textArea文本域效果,然后设置了valueType为textarea不生效,展示还是input输入框的效果,希望支持

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

5 participants