Skip to content

Commit 26cb55a

Browse files
committed
fix: increase maximum length for input field in TextInputConstructor
1 parent 440e2ba commit 26cb55a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ui/src/components/dynamics-form/constructor/items/PasswordInputConstructor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const rules = computed(() => [
172172
defineExpose({ getData, rander })
173173
onMounted(() => {
174174
formValue.value.minlength = 0
175-
formValue.value.maxlength = 20
175+
formValue.value.maxlength = 200
176176
formValue.value.default_value = ''
177177
formValue.value.show_password = true
178178

ui/src/components/dynamics-form/constructor/items/TextInputConstructor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const rules = computed(() => [
163163
defineExpose({ getData, rander })
164164
onMounted(() => {
165165
formValue.value.minlength = 0
166-
formValue.value.maxlength = 20
166+
formValue.value.maxlength = 200
167167
formValue.value.default_value = ''
168168
// console.log(formValue.value.show_default_value)
169169
if (formValue.value.show_default_value === undefined) {

ui/src/workflow/nodes/base-node/component/UserFieldFormDialog.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const currentRow = computed(() => {
5454
return currentItem.value
5555
}
5656
return {
57-
attrs: row.attrs || { maxlength: 20, minlength: 0 },
57+
attrs: row.attrs || { maxlength: 200, minlength: 0 },
5858
field: row.field || row.variable,
5959
input_type: 'TextInput',
6060
label: row.label || row.name,
@@ -117,7 +117,7 @@ const currentRow = computed(() => {
117117
return currentItem.value
118118
}
119119
} else {
120-
return { input_type: 'TextInput', required: false, attrs: { maxlength: 20, minlength: 0 } }
120+
return { input_type: 'TextInput', required: false, attrs: { maxlength: 200, minlength: 0 } }
121121
}
122122
})
123123
const currentIndex = ref(null)

0 commit comments

Comments
 (0)