-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue render option tag with empty value attribute without attribute #10412
Comments
I've the same issue. |
related commit ff130c4 |
While I understand that it is an unexpected result, I'm curious how this issue breaks your apps/libraries in real-world usage? |
Hi. An error occurs when working with the backend, which is written in more type-sensitive languages like GO and php8, in my case. For example, I have an automatic typecast get params (id of database entity), which expect int or null, but now i receive:
In my app it should throw an error - |
https://github.com/jarstone/dselect/blob/main/source/js/dselect.js function isPlaceholder(option) {
return option.getAttribute('value') === ''
} |
Vue version
3.4.20
Link to minimal reproduction
https://play.vuejs.org/#eNp9kTFPwzAQhf+K5SUglWaAqaRIgDrAAAgYvYTk2ro4tmWf06Aq/52zrZQOqJt977t37+wDv7d23gfgC175xkmLzAMGeye07KxxyA7MwZqNbO1MxwpCi1uhhW6M9pFV0CC0bBmpi6K4JLEqsxN50AWhs6pGoBtjVW5g/VVnWlBLwScHwRNAiLEojWZ9rQIQQMJqsLGJjPAn12fsKyCT6GmsbsFRgr3EraFijeiqMpvkmWWeQZeqPEnDZxw9rbGWm/nOG01PcIi84I3prFTgXpOJF3zBkhK1Wimzf041dBRkqjdbaL7/qe/8EGuCvznw4HoQ/Khh7TaAWV59vMBA56NIDxQU0WfEd/BGhZgxYw9BtxT7hEtpn9JHSr359KsBQftpqRg0kmPiBafPfTyz+l/c6/lN6hN65OMvj0LCWQ==
Steps to reproduce
<option value=""></option>
What is expected?
What is actually happening?
System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: