#ember-power-select: changing the value in one power-select box , it alternately changes the same value for another power-select box

后端 未结 1 323
长发绾君心
长发绾君心 2021-01-26 00:45

I used custom-search-action in #ember-power-select, changing the value in one power-select box , it alternately changes the value(sets the same value as selected in 1st select b

1条回答
  •  鱼传尺愫
    2021-01-26 01:24

    You issue is this (action (mut hpqualification.hoprofile.name) value="name")

    This will actually change the name of the current selected hoprofile object. Which means, that now you could potentially have two objects with a same name.

    If you change it back to (action (mut hpqualification.hoprofile)), that will actually change the object that is selected.

    Now I don't know what the end result you are trying to get, but I think this is you problem.

    0 讨论(0)
提交回复
热议问题