Problem/Motivation

Accepting other values (-,+ etc)

Steps to reproduce

Install this module, activate message time.

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

yogisingh created an issue. See original summary.

yogisingh’s picture

Issue summary: View changes
StatusFileSize
new114.66 KB

yogisingh’s picture

Assigned: yogisingh » Unassigned
Status: Active » Needs review
anjuelsaphilip2020’s picture

StatusFileSize
new31.94 KB
new31.33 KB

Hi, I've verified and tested MR !4 and applied the patch successfully on the 2.0.0 Version. The changes are working as expected.

Following the steps I followed:

  1. Go to the Message Time configuration.
  2. Try entering invalid values (+100, etc.).
  3. Confirm that validation now blocks invalid input.

Test Result:
After entering different values in the Message Time input field, validation behaves as expected. Only valid positive integers are accepted, while invalid characters like -, +, letters, and decimals are correctly rejected. Hence, the changes are working as expected.

anjuelsaphilip2020’s picture

Status: Needs review » Reviewed & tested by the community
yogisingh’s picture

Version: 2.0.0 » 2.0.1
Component: Miscellaneous » Code
Status: Reviewed & tested by the community » Fixed

Fixed validation issues

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.

yogisingh’s picture

Status: Fixed » Closed (fixed)

New Release