diff --git a/core/frontend/src/views/chart/components/ChartTitleUpdate.vue b/core/frontend/src/views/chart/components/ChartTitleUpdate.vue
index 499dfa9ca1..250e390096 100644
--- a/core/frontend/src/views/chart/components/ChartTitleUpdate.vue
+++ b/core/frontend/src/views/chart/components/ChartTitleUpdate.vue
@@ -8,6 +8,7 @@
ref="chartTitle"
v-model.trim="chartTitleUpdate"
type="text"
+ maxlength="50"
:style="inputStyle"
class="chart-input-title"
@blur="changeEditStatus"
@@ -91,10 +92,6 @@ export default {
methods: {
changeEditStatus() {
this.lostFocus()
- if (this.chartTitleUpdate.length > 50) {
- this.$error(this.$t('chart.title_limit'))
- return
- }
if (this.chartTitleUpdate.length < 1) {
this.$error(this.$t('chart.title_cannot_empty'))
this.chartTitleUpdate = this.chart.title
diff --git a/core/frontend/src/views/chart/view/ChartEdit.vue b/core/frontend/src/views/chart/view/ChartEdit.vue
index b1b56b574c..944b3a123b 100644
--- a/core/frontend/src/views/chart/view/ChartEdit.vue
+++ b/core/frontend/src/views/chart/view/ChartEdit.vue
@@ -37,8 +37,7 @@
/>
@@ -19,18 +19,21 @@
@click="chartTitleUpdate = ''"
/>
- {{ chart.title }}
+ >{{ chart.title }}