From 84902eb71a8b3d05cf0e3314a43d6cee9dbd38be Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 12 Apr 2021 10:49:45 +0000 Subject: [PATCH] Bug 28134: Replace use of input type number in onboarding templates This patch changes the instances of input of type="number" to input type="text" with attributes inputmode="numeric" and pattern="[0-9]*" To test, apply the patch and run through the process of installing Koha. When you reach onboarding step 2, "Create a patron category," check the enrollment period -> "In months" field. The field should not accept any input except numbers. Continue onboarding until step 5, "Create a new circulation rule." On this page, check that these fields accept only numbers: - Current checkouts allowed - Loan period - Renewals allowed - Renewals period --- .../intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt index b01da625cd..fc19563a7c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt @@ -99,9 +99,9 @@
  • [% IF category.enrolmentperiod %] - + [% ELSE %] - + [% END %]
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt index e70870f500..1d57686979 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt @@ -69,13 +69,13 @@
  • - + Required
  • - + Required
  • @@ -100,13 +100,13 @@
  • - + Required
  • - + Required
  • -- 2.11.0