Skip to content

Commit

Permalink
fix(Select): remove defaults for value and text
Browse files Browse the repository at this point in the history
Resolves #1702
  • Loading branch information
benjamincanac committed Jun 6, 2024
1 parent 49174b7 commit 6c124bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/components/forms/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ export default defineComponent({
}
const guessOptionValue = (option: any) => {
return get(option, props.valueAttribute, get(option, props.optionAttribute))
return get(option, props.valueAttribute, '')
}
const guessOptionText = (option: any) => {
return get(option, props.optionAttribute, get(option, props.valueAttribute))
return get(option, props.optionAttribute, '')
}
const normalizeOption = (option: any) => {
Expand Down

0 comments on commit 6c124bb

Please sign in to comment.