fix(Select): remove defaults for value and text

Resolves #1702
This commit is contained in:
Benjamin Canac
2024-06-06 10:51:34 +02:00
parent 49174b7628
commit 6c124bb1ac

View File

@@ -199,11 +199,11 @@ export default defineComponent({
} }
const guessOptionValue = (option: any) => { const guessOptionValue = (option: any) => {
return get(option, props.valueAttribute, get(option, props.optionAttribute)) return get(option, props.valueAttribute, '')
} }
const guessOptionText = (option: any) => { const guessOptionText = (option: any) => {
return get(option, props.optionAttribute, get(option, props.valueAttribute)) return get(option, props.optionAttribute, '')
} }
const normalizeOption = (option: any) => { const normalizeOption = (option: any) => {