amis icon indicating copy to clipboard operation
amis copied to clipboard

tree-select 可以只选择最下级的一层吗

Open metooweb opened this issue 6 years ago • 1 comments

实现场景:

选择分类

存在的问题:

现在选择分类,可以选择父级分离

当前方案:

请粘贴你当前方案的完整 amis schema 代码...

{
        "type": "tree-select",
        "debug": true,
        "name": "type_id",
        "label": "类目",
        "required": true,
        "cascade": false,
        "valueField": "id",
        "labelField": "name",
        "source": "${types}"
      }

metooweb avatar Sep 22 '20 14:09 metooweb

其他层级的option不返回value字段就无法被选中了

RickCole21 avatar Oct 19 '20 02:10 RickCole21