Bug 41215

Summary: VueJS framework number input allows for alphabetic characters
Product: Koha Reporter: Pedro Amorim <pedro.amorim>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart, martin.renvoize, matt.blenkinsop, pedro.amorim
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37893
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Pedro Amorim 2025-11-07 11:20:24 UTC
To reproduce:
1) Visit the 'new vendor' page at:
<staff_url>/cgi-bin/koha/acquisition/vendors/add
2) Enter a vendor name
3) Scroll down, input 'aaa' into the 'delivery time' input.
4) Notice 'NaN' is shown <- This is problem #1
5) Click 'Save'
6) Notice the warning:
Something went wrong: Error: Expected integer/null - got string. <- This is problem #2
Comment 1 Pedro Amorim 2025-11-07 11:35:33 UTC
Do we need a new bugzilla component or keyword: 'VueJS framework'?
Comment 2 Jonathan Druart 2025-11-07 13:02:35 UTC
I reported that already when testing bug 38201 and it was supposed to be fixed by the commit "Avoid parseFloat when value is an empty string"