Browse Source

refactor: change char limit

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5848/head
Pranav C 1 year ago
parent
commit
b8bd1982d0
  1. 8
      packages/nc-gui/components/smartsheet/column/LinkOptions.vue

8
packages/nc-gui/components/smartsheet/column/LinkOptions.vue

@ -16,8 +16,8 @@ setAdditionalValidations({
{
validator: (_, value: string) => {
return new Promise((resolve, reject) => {
if (value?.length > 64) {
return reject(new Error('The length exceeds the max 64 characters'))
if (value?.length > 59) {
return reject(new Error('The length exceeds the max 59 characters'))
}
resolve(true)
})
@ -28,8 +28,8 @@ setAdditionalValidations({
{
validator: (_, value: string) => {
return new Promise((resolve, reject) => {
if (value?.length > 64) {
return reject(new Error('The length exceeds the max 64 characters'))
if (value?.length > 59) {
return reject(new Error('The length exceeds the max 59 characters'))
}
resolve(true)
})

Loading…
Cancel
Save