H Guys

Converting mail_headers to D8 I noticed that the #ajax property doesn't work on fields of type #number.
The #ajax works perfectly when changed to #textfield

Sorry for the really empty bug report.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

larowlan’s picture

Component: ajax system » forms system
larowlan’s picture

Assigned: Unassigned » larowlan
larowlan’s picture

I have a fix for this, just adding tests. Will continue on Monday.

larowlan’s picture

Assigned: larowlan » Unassigned
Status: Active » Needs review
FileSize
4.75 KB
3.18 KB

Tests to verify fail.
Then fix.

andypost’s picture

Status: Needs review » Reviewed & tested by the community

Nice bugfix

alexpott’s picture

Status: Reviewed & tested by the community » Needs work

Needs a reroll... patch looks great :)

error: patch failed: core/includes/ajax.inc:566
error: core/includes/ajax.inc: patch does not apply
error: patch failed: core/misc/ajax.js:242
error: core/misc/ajax.js: patch does not apply
alexpott’s picture

Status: Needs work » Reviewed & tested by the community

Ignore #6 - i'm mad :)

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed e784ac7 and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.