Skip to content

Commit

Permalink
fix: added maxlength to title field in Content
Browse files Browse the repository at this point in the history
  • Loading branch information
pnrgenc committed Dec 5, 2024
1 parent a571691 commit 66e712a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
return [];
}
},
titleMaxLength: {
type: Number,
required: false,
default: 50
},
status: {
type: Object,
required: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ <h4 class="has-ellipsis" v-tooltip="localTitle && localTitle.length > 30 ? local
v-else
class="bu-mb-2 cly-vue-content-builder__layout-header__info-title__input"
v-model="localTitle"
:maxlength="titleMaxLength"
@blur="finishEditing"
@keydown.enter.native="finishEditing"
/>
Expand Down

0 comments on commit 66e712a

Please sign in to comment.