Klikerko
Klikerko

Reputation: 1097

How to do HTML5 validation on <select> element styled with Uniform.JS

I'm having trouble with HTML5 validation on <select> element styled with Uniform.js. With unstyled <select>, in Chrome for example, I would get small popup saying "Please select and item in the list" if I try to submit the form without selecting something first. Unfortunately, when Uniform is applied this popup is gone and I get no validation message.

How we could fix this issue? Thanks.

JSFiddle with one unstyled and one styled <select> element for testing can be found here: http://jsfiddle.net/Klikerko/hqUr8/

EDIT: After more testing it turns out that validation message doesn't show in Chrome on Mac (version 25). This issue might be fixed in newer Chrome, but I have to use this older version because of some problems with CodeKit and latest Chrome.

Upvotes: 0

Views: 363

Answers (0)

Related Questions