Closed (fixed)
Project:
Phone Number (field)
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Jul 2024 at 08:41 UTC
Updated:
13 Oct 2025 at 15:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
iheb.attia commentedComment #3
iheb.attia commentedComment #4
malcomio commentedThe patch applies cleanly, and addresses the issue.
Comment #6
chrisolofThank you! This change has been merged into the 2.0.x branch.
Comment #8
felribeiro commentedThe Drupal\Core\Render\Element\FormElementBase is avaliable from Drupal 10.3 and the module info is core_version_requirement: ^9.2 || ^10 || ^11
https://www.drupal.org/node/3436275
It is thowing this Error: Class "Drupal\Core\Render\Element\FormElementBase" not found in include() (line 36 of modules/contrib/phone_number/src/Element/PhoneNumber.php).
Comment #10
raycascellaI'm seeing the same error as felribeiro. Should this be updated to use the Drupal\config_translation\FormElementBase instead? I poked around and saw it added in other field configs. I created a fork to see if adding a patch to my installer removes the error.Ignore me. Didn't realize our core install was still on 10.2.7!