textarea 可以支持source 来获取到数据么
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述问题:
textarea 获取不到source 数据 我找了文档 是不支持么
textarea不会触发联动 只有input-text 可以 ,但如果多行的话 input-text 多行文件又不能全部插
#### 如何复现(请务必完整填写下面内容):
1. 你是如何使用 amis 的?
通过json 配置实现
2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
sdk:3.2
3. 粘贴有问题的完整 `amis schema` 代码:
```
{
'label': '模型编号',
'type': 'select',
'name': 'model_id',
'selectMode': 'table',
'multiple': false,
'columns': [
{
'name': 'label',
'label': '模型编号'
},
{
'name': 'position',
'label': '模型名称'
}
// {
// 'name': 'modelfile',
// 'label': '模型文件'
// }
],
'source': '/zjlab/model/select-model-select'
},
{
'name': 'model_file_name',
'type': 'textarea',
'clearable': true,
'required': true,
'label': '模型文件',
'selectFirst': true,
'source': {
'method': 'get',
'url': '/zjlab/model//select-modelinfo-byid?id=${model_id}'
}
}
```
4. 操作步骤
textarea不会触发联动 只有input-text 可以 ,但如果多行的话 input-text 多行文件又不能全部插入

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the provided AMIS JSON schema with the textarea and input-text controls, using the listed model selection and source URLs. Compare how source and linkage behave between the two controls, then confirm the expected result for loading multiline model-file data into the textarea.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100