Problem/Motivation

Make validation to accept only integer values in config form

Steps to reproduce

Install the module and visit admin/config/system/menu-title-length/settings

Proposed resolution

change the field type

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

Nishant created an issue. See original summary.

nishant’s picture

Assigned: nishant » Unassigned
Status: Needs work » Needs review
StatusFileSize
new583 bytes

Fixed the above issue and provided patch.

Rajan Kumar made their first commit to this issue’s fork.

rajan kumar’s picture

Status: Needs review » Fixed

I have review & committed above patch in latest version.

rajan kumar’s picture

Status: Fixed » Closed (fixed)
shreya_th’s picture

StatusFileSize
new947 bytes

I have observed that when i'm giving integer value in menu title length it allows to save that value but when i'm giving string value in menu title length then it doesn't allow it to save string value. Validation part is working fine .

rajan kumar’s picture

@Shreya_th this ticket has already closed.