Skip to content

v1.1.3

Compare
Choose a tag to compare
@sagalbot sagalbot released this 02 Jun 02:28

New

Introduced getOptionalLabel prop. This prop accepts a callback function, allowing you to modify your option labels, without needing to modify your data sources. The callback should return a string that will be used as the options label. This is a good place to leverage ES6 template strings:

<v-select :get-option-label="formatLabel"></v-select>
formatLabel(option) {
   return `${option.date} - ${option.title}`  
}