Added a maxlength setting to the regular expression pattern field. (#17982)

This commit is contained in:
Andy Butland
2025-01-15 20:54:54 +01:00
committed by GitHub
parent 04ea002bf3
commit 2ffaede07b
2 changed files with 2 additions and 1 deletions

View File

@@ -943,7 +943,7 @@ input.umb-group-builder__group-sort-value {
.editor-description,
.editor-validation-pattern {
min-width: 100%;
min-height: 25px;
min-height: 60px;
resize: none;
box-sizing: border-box;
border: none;

View File

@@ -125,6 +125,7 @@
ng-model="model.property.validation.pattern"
ng-change="vm.changeValidationPattern()"
ng-if="vm.showValidationPattern"
maxlength="255"
umb-auto-resize
focus-when="{{vm.focusOnPatternField}}"
ng-keypress="vm.submitOnEnter($event)">