Problem/Motivation
The time fields on later pages are being validated against the step configuration on the first page preventing movement forward in the form.
I discovered this myself in 6.1.8 but it is present also now in 6.3.x
It appears to have been introduced in the fix for #3305878
Steps to reproduce
Create a form with multiple pages
put a date time field on the second or further pages
set the step to something like 10m
I don't think it needs a default value, but appears to start out with one based on now
Proposed resolution
It appears that the step validation is the only validation that doesn't check has_access to identify if the field is on the current page being validated. I believe this will be true for wizard pages and conditional fields.
I believe the included MR is the right fix to prevent early validation. Tested this locally myself but wanted to report and share the fix.
Issue fork webform-3555424
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ehlovader commentedUpdated with additional version information
Comment #4
ehlovader commentedAdded merge request
Comment #5
jrockowitz commentedChange make perfect sense and aligns with existing validation logic
Comment #6
jrockowitz commentedChange make perfect sense and aligns with existing validation logic