element icon indicating copy to clipboard operation
element copied to clipboard

使用select remote 远程搜索时,当option的label和value的值不同时,我选择了一个label,显示的却是value的值

Open mingbai2006 opened this issue 9 years ago • 1 comments

使用select remote 远程搜索时,当option的label和value的值不同时,我选择了一个label,显示的却是value的值

    <el-select
            v-model="value"
            filterable
            remote
            placeholder="请输入关键词"
            :remote-method="remoteMethod"
            :loading="loading">
        <el-option
                v-for="item in options"
                :label="item.label"
                :value="item.id">
        </el-option>
    </el-select>

image

ElementUI version

1.0.5

OS/Browers version

Win/Chrome 54 -->

Vue version

2.1.4

mingbai2006 avatar Dec 08 '16 12:12 mingbai2006

已知 bug,已在 #1606 中修复。

Leopoldthecoder avatar Dec 08 '16 13:12 Leopoldthecoder