Step attribute on input type time is not supported.

Created on 26 February 2021, about 4 years ago
Updated 14 March 2024, about 1 year ago

Problem/Motivation

When i try to save nodes, i get the JS error " Step attribute on input type time is not supported.". This prevents from saving my changes in some cases, especially on node types on which i have Gutenberg enabled.

Proposed resolution

I managed to fix this hacking the module's clientside_validation_jquery JS file this way:

$(this).validate({
  rules: {
    "created[0][value][time]": {step: false}
  }
});

So i was wondering is there a way to define custom rules for the validation?

Thanks for helping me out :)

💬 Support request
Status

Needs work

Version

3.0

Component

Code

Created by

🇫🇮Finland joey-santiago

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024