Frequency of user's geolocation configuration field issue

Created on 20 June 2025, about 1 month ago

Problem/Motivation

In the smart_ip module's configuration page, the Frequency of user's geolocation check field is an optional field but the validation written for this field is making this field as Required. Without entering the values, we can't save the form at all.

Steps to reproduce

Open the smart_ip module's configuration page and try to keep the Frequency of user's geolocation checking field as empty and save the form. It will give validation error message - Frequency of user's geolocation checking must be a positive number.

Proposed resolution

The if condition added to check the input is numeric and not negative is not working as expected.

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

🇮🇳India suraj_vantagode

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024