This is an automated email from the ASF dual-hosted git repository.
mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new c3febc9d68 increase state character limit to 4 (#7846)
c3febc9d68 is described below
commit c3febc9d688b82bafffc08611f8a25053880b559
Author: The Anh Nguyen <[email protected]>
AuthorDate: Tue Nov 28 22:27:31 2023 +0100
increase state character limit to 4 (#7846)
* increase state character limit to 4
* update Changelog
---
CHANGELOG.md | 3 +++
.../src/common/modules/form/physLocation/FormPhysLocationController.js | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 07dffbfcba..f98b979aff 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,9 @@ The format is based on [Keep a
Changelog](http://keepachangelog.com/en/1.0.0/).
- [#7832](https://github.com/apache/trafficcontrol/pull/7832) *t3c* Removed
perl dependency
- Updated the CacheGroups Traffic Portal page to use a more performant
AG-Grid-based table.
+### Fixed
+- [#7846](https://github.com/apache/trafficcontrol/pull/7846) *Traffic Portal*
Increase State character limit
+
## [8.0.0] - 2023-09-20
### Added
- [#7672](https://github.com/apache/trafficcontrol/pull/7672) *Traffic Control
Health Client*: Added peer monitor flag while using `strategies.yaml`.
diff --git
a/traffic_portal/app/src/common/modules/form/physLocation/FormPhysLocationController.js
b/traffic_portal/app/src/common/modules/form/physLocation/FormPhysLocationController.js
index a5975d3d28..78db8cf7c7 100644
---
a/traffic_portal/app/src/common/modules/form/physLocation/FormPhysLocationController.js
+++
b/traffic_portal/app/src/common/modules/form/physLocation/FormPhysLocationController.js
@@ -42,7 +42,7 @@ var FormPhysLocationController = function(physLocation,
$scope, $location, formU
{ name: 'shortName', type: 'text', required: true, maxLength: 100 },
{ name: 'address', type: 'text', required: true, maxLength: 128 },
{ name: 'city', type: 'text', required: true, maxLength: 128 },
- { name: 'state', type: 'text', required: true, maxLength: 2 },
+ { name: 'state', type: 'text', required: true, maxLength: 4 },
{ name: 'zip', type: 'text', required: true, maxLength: 11 },
{ name: 'poc', type: 'text', required: false, maxLength: 128 },
{ name: 'phone', type: 'text', required: false, maxLength: 45 },