diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c7c21b92..c97998fb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Fix a bug: unable to confirm modification of reservation for client - Fix a bug: unable to show deleted user in reservation slot - Fix a bug: race condition on invoice after payment (concerning payment schedules) https://app.clickup.com/t/25zpmn1 +- Fix a bug: form maxlength count to exclude spaces and newline ## v5.3.9 2022 April 01 diff --git a/app/frontend/templates/admin/plans/_form.html b/app/frontend/templates/admin/plans/_form.html index 152c6ae73..278549909 100644 --- a/app/frontend/templates/admin/plans/_form.html +++ b/app/frontend/templates/admin/plans/_form.html @@ -7,6 +7,7 @@ name="plan[base_name]" class="form-control" ng-maxlength="24" + ng-trim="false" ng-model="plan.base_name" required="true"/> {{ 'app.shared.plan.name_is_required' }} diff --git a/app/frontend/templates/admin/plans/edit.html b/app/frontend/templates/admin/plans/edit.html index f7084c259..252036465 100644 --- a/app/frontend/templates/admin/plans/edit.html +++ b/app/frontend/templates/admin/plans/edit.html @@ -93,6 +93,13 @@ +