Closed benjamincanac closed 2 months ago
Reverted this behaviour in https://github.com/benjamincanac/ui3/pull/92/commits/94fcf28a8a1344d5ea9d67809e61f0e5c80577ed. It was causing too many conflicts with leading / trailing and with display priority.
leading
trailing
For example if we provide an icon, select an item with an avatar then set loading to true. How to choose to display the (loading) icon instead of the avatar? 🤔
Here is how to achieve this at the moment: https://github.com/benjamincanac/ui3/blob/dev/playground/pages/input-menu.vue#L53-L70. Maybe it's good enough.
Description
Reverted this behaviour in https://github.com/benjamincanac/ui3/pull/92/commits/94fcf28a8a1344d5ea9d67809e61f0e5c80577ed. It was causing too many conflicts with
leading
/trailing
and with display priority.For example if we provide an icon, select an item with an avatar then set loading to true. How to choose to display the (loading) icon instead of the avatar? 🤔