mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-18 03:01:09 +01:00
This commit is contained in:
@@ -87,7 +87,7 @@ const definition = defineWidget({
|
|||||||
return t('item.validation.length', { shortest: '1', longest: '100' });
|
return t('item.validation.length', { shortest: '1', longest: '100' });
|
||||||
},
|
},
|
||||||
href: (value) => {
|
href: (value) => {
|
||||||
if (!z.string().min(1).max(200).safeParse(value).success) {
|
if (!z.string().min(1).max(8192).safeParse(value).success) {
|
||||||
return t('item.validation.length', { shortest: '1', longest: '200' });
|
return t('item.validation.length', { shortest: '1', longest: '200' });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user