stock changes 18-04-2025
This commit is contained in:
parent
5973000586
commit
31a3022c0a
@ -1302,7 +1302,6 @@
|
|||||||
// Validate against the regex
|
// Validate against the regex
|
||||||
const isValid = /^-?\d*\.?\d*$/.test(input);
|
const isValid = /^-?\d*\.?\d*$/.test(input);
|
||||||
if (!isValid) {
|
if (!isValid) {
|
||||||
alert('Invalid input! Please enter a valid number.');
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2440,7 +2440,6 @@ $timeOtions[] = "12:00 AM";
|
|||||||
// Validate against the regex
|
// Validate against the regex
|
||||||
const isValid = /^-?\d*\.?\d*$/.test(input);
|
const isValid = /^-?\d*\.?\d*$/.test(input);
|
||||||
if (!isValid) {
|
if (!isValid) {
|
||||||
alert('Invalid input! Please enter a valid number.');
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user