Bug 41215 - VueJS framework number input allows for alphabetic characters
Summary: VueJS framework number input allows for alphabetic characters
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-07 11:20 UTC by Pedro Amorim
Modified: 2025-11-07 13:02 UTC (History)
4 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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"