I have a VueJS multiselect component that is displaying data from a JSON file using axios. Unfortunately, I am unable to modify the data directly. However, I would like to edit the text displayed and hide any blank entries.
For example, I want 'BL' to be shown as 'Black', 'BLK' as 'Blue', etc.
<div class="multiselect-dropdown is-hidden" tabindex="-1">
<ul class="multiselect-options">
<li class="multiselect-option"><span>BL</span></li>
<li class="multiselect-option"><span></span></li>
<li class="multiselect-option"><span>BLK</span></li>
<li class="multiselect-option"><span>GR</span></li>
<li class="multiselect-option"><span>PUR</span></li>
<li class="multiselect-option"><span>YEL</span></li>
</ul>
Any assistance with this issue would be greatly appreciated!