psu-libraries / cho

Project for Penn State Library's cultural heritage object repository.
Apache License 2.0
18 stars 2 forks source link

Override HTML5 validations to match our UI pattern #1058

Closed awead closed 5 years ago

awead commented 5 years ago

Description

Using a stimulus controller, we change the default behavior of HTML5 browser validations so that they match the existing behaviors of our other remote validations.

Before

Screen Shot 2019-06-28 at 2 15 06 PM

After

Screen Shot 2019-06-28 at 2 14 11 PM

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 99.439% when pulling d4087385453e17c9d6639d7032fc506bdb091dde on html5-customizations into ffb835e7fa813aec2559c01bfc0365ee5fcc1436 on master.