Reviewed & tested by the community
Project:
Drupal core
Version:
main
Component:
install system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Sep 2015 at 18:12 UTC
Updated:
5 Oct 2026 at 14:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
evilehk commentedThe commits from #2101427: Follow-up: Browser validation error with Chrome on hidden required fields, even on forms that don't allow client-side validation, f614976 and 5ab1bfc, also added a JavaScript required marker theme function to states.js and appended the marker to the field label if the field was required by the #states form attribute. Those lines have since been changed. In the end, I believe the revert is removing the #states attributes from the install database configuration form options. The patch is attached.
Comment #3
evilehk commentedComment #15
smustgrave commentedComment #16
akram khanreroll against 9.4.x and address #15
Comment #17
spokjeComment #18
spokjeComment #19
spokjeHmmm, expected I would need separate patches for 9.x/10.x, but as it turns out one patch rules them all.
Added interdiff
Comment #20
spokjeComment #21
smustgrave commentedComment #22
alexpottIt could be good to determine if the way the installer database settings form works with and without JS enabled is as expected after this patch.
Comment #23
alexpottAlso looking at the original issue does this we can revert the changes it made to core/modules/language/lib/Drupal/language/Form/LanguageAddForm.php as well?
Comment #25
spokje@alexpott in #23
Not sure what changes? (But then again those old commits are hard to find in the issue)
Comment #26
smustgrave commentedSo what's next steps needed for this @alexpott?
Comment #27
smustgrave commentedFor #23
Comment #29
smustgrave commentedFollowing up if still a valid task?
Comment #30
catchThe change mentioned in #25 is the one from this patch afaict https://www.drupal.org/files/drupal8.forms-system.2101427-35.patch
That code is still the same, so I think it's still relevant.
I think next steps would be:
1. Convert the changes here to an MR
2. Manually test the installer form with and without js enabled.
3. Revert the changes from the above patch to the language add form and manually test that.
Comment #31
lavanyatalwar commentedLooking into it
Comment #32
lavanyatalwar commentedHi @catch,
I reviewed both the patch and the current codebase. It seems the patch is based on an older version of the code, which has since changed significantly.
Could you please take a look and confirm?
Comment #33
nicxvan commentedIt will need to be manually replicated.
Comment #37
quietone commentedI converted the patch in #18 to an MR. I updated the issue summary with the manual testing steps from #30.
Comment #38
quietone commentedComment #39
smustgrave commentedTested this on ddev with and without javascript disabled (used a Chrome browser extension for disabling)
The install worked just fine, unrelated to this change as I've been getting it for a while now but I do get a browser 404 on fresh installs. Talking to @catch and @nicxcan in slack if it's a bug actually.