Skip to content

Don't mark required fields as invalid by default

I'm also not quite happy with this huge script, but the first tinier solution given in the issue on MDL totally disable the invalid functionality of MDL which we don't want:

Firefox_Screenshot_2017-05-29T15-33-53.896Z

This is how it looks like if you come to a fresh form:

Firefox_Screenshot_2017-05-29T15-37-10.967Z

When you enter a title:

Firefox_Screenshot_2017-05-29T15-37-28.550Z

When you entered a title and clicked the button:

Firefox_Screenshot_2017-05-29T15-37-49.367Z

When you click the button without entering anything:

Firefox_Screenshot_2017-05-29T15-38-16.238Z

References:

Merge request reports