Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Current formUpdated event is not great, it doesn't trigger when hitting delete/backspace in text fields, doesnt react to copy/paste.
- Make the event trigger for backspace, delete, copy/paste, input (when using chinese/japanese input methods)
- Make views, machine name use this event instead of their own.
Comment | File | Size | Author |
---|---|---|---|
#18 | core-js-improve-formUpdate-2456225-6.patch | 1.7 KB | drupaldrop |
#5 | core-js-improve-formUpdate-2456225-5.patch | 1.64 KB | nod_ |
#2 | core-js-improve-formUpdate-2456225-1.patch | 657 bytes | nod_ |
Comments
Comment #1
nod_Looks like the
input
event is all we need. Tagging IE8 because it's not supported by it.Comment #2
nod_Comment #3
Fabianx CreditAttribution: Fabianx commentedIt's a bug, not a task :).
Comment #4
alexpottTested using http://jsfiddle.net/6bSX6/ and can confirm the bug. But what happened to
From the issue summary?
Comment #5
nod_Here it is.
Comment #6
droplet CreditAttribution: droplet commentedrequired to add `formUpdated` event here.
Comment #7
droplet CreditAttribution: droplet commentedComment #8
nod_Um not sure what you mean here
Comment #9
droplet CreditAttribution: droplet commentedwired caches on my end. It wasn't load form.js after clean cache. But helping to find a bug #2490146: Prevent empty request on machine name transliterate.
Re-tested #5. It worked on Mac & Windows, I can't confirm it with Linux..
https://www.drupal.org/node/812354#comment-3072460
(Overall, it's better than now)
Comment #10
Fabianx CreditAttribution: Fabianx as a volunteer and at Tag1 Consulting commentedLooks great to me.
Comment #13
Fabianx CreditAttribution: Fabianx as a volunteer and at Tag1 Consulting commentedRTBC, random test fail (go to failed in browser test base ...)
Comment #17
Fabianx CreditAttribution: Fabianx as a volunteer and at Tag1 Consulting commentedComment #18
drupaldrop CreditAttribution: drupaldrop commentedpatch is rerolled - there were no conflicts - Auto merge
Comment #19
nod_Comment #20
drupaldrop CreditAttribution: drupaldrop commentedComment #21
Fabianx CreditAttribution: Fabianx as a volunteer and at Tag1 Consulting commentedBack to RTBC
Comment #22
Wim LeersYay! This also improves things for In-Place Editing :)
Comment #23
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed a9f2eea and pushed to 8.0.x. Thanks!