Problem/Motivation

When entering an invalid Aadhaar number in the Aadhaar Number Widget field, the validation does always show a proper inline error message under the field.

Error: Using $this when not in object context in Drupal\aadhaar_number_widget\Plugin\Field\FieldWidget\AadhaarNumberWidget::validate() (line 60 of /var/www/html/drupal10/web/modules/contrib/aadhaar_number_widget/src/Plugin/Field/FieldWidget/AadhaarNumberWidget.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon 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

radheymkumar created an issue. See original summary.

radheymkumar’s picture

Assigned: radheymkumar » Unassigned
Status: Needs work » Needs review

Created MR and merged

yogisingh’s picture

Assigned: Unassigned » yogisingh
radheymkumar’s picture

Version: 1.0.4 » 2.0.0
Assigned: yogisingh » radheymkumar
Status: Needs review » Fixed

Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

radheymkumar’s picture

Status: Fixed » Closed (fixed)