Skip to content

Commit 2ffaede

Browse files
authored
Added a maxlength setting to the regular expression pattern field. (#17982)
1 parent 04ea002 commit 2ffaede

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Umbraco.Web.UI.Client/src/less/components/umb-group-builder.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ input.umb-group-builder__group-sort-value {
943943
.editor-description,
944944
.editor-validation-pattern {
945945
min-width: 100%;
946-
min-height: 25px;
946+
min-height: 60px;
947947
resize: none;
948948
box-sizing: border-box;
949949
border: none;

src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/propertysettings/propertysettings.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ <h5><localize key="validation_validation">Validation</localize></h5>
125125
ng-model="model.property.validation.pattern"
126126
ng-change="vm.changeValidationPattern()"
127127
ng-if="vm.showValidationPattern"
128+
maxlength="255"
128129
umb-auto-resize
129130
focus-when="{{vm.focusOnPatternField}}"
130131
ng-keypress="vm.submitOnEnter($event)">

0 commit comments

Comments
 (0)