coreui/coreui-vue

If I change icon property of CIcon the icon doesn't change

dkwebtec opened this issue · 5 comments

template:

<CIcon :icon="testIcon" /> {{testIcon}} <button @click="testIcon = 'cilMoon'">Change icon</button>

script:

import { computed, ref } from "vue";
const testIcon = ref("cilSun");

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

please, can anybody check?

@dkwebtec at this moment this property is not reactive, but I will try to change it.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

The icon property is not reactive as of release 4.4.3 :( Is there a plan to make it reactive? At the moment it seems like a bug.