Vuetify: "Required" attribute for <v-select> doesn't work

Created on 24 Jul 2017  路  4Comments  路  Source: vuetifyjs/vuetify

Steps to reproduce

Open https://codepen.io/anon/pen/RZwBwd, fill in the text field and submit the form

Versions

0.14.5

What is expected ?

Javascript form validation should block submitting the form

What is actually happening ?

Form gets submitted although the required field has no value

Reproduction Link

https://codepen.io/anon/pen/RZwBwd

duplicate

All 4 comments

Duplicate of #1070

It's not exactly same as #1070, I'm talking about the browser form validation which is not working here because there is no input/select element in the generated markup

http://imgur.com/a/jfeOX
http://imgur.com/a/hQOQZ

Adding with the same size and position as the div with the value (for correct browser message position) seems to be enough.

The reason why I think it's important is not only the convenience of the browser built-in validation but also the consistency of the components - if the "required" prop triggers the validation for it should also work for . Or it shouldn't work for both of them.

Anyway, great job with the framework! I'm planning to create some pull request in the future, just need to get familiar with the github workflow

I don't have any intentions to support standard html validation, sorry. Thank you for your feedback.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord

Was this page helpful?
0 / 5 - 0 ratings