diff --git a/next-ui/src/components/dialog/Confirm.vue b/next-ui/src/components/dialog/Confirm.vue index 61044c4e..fc8b6fbe 100644 --- a/next-ui/src/components/dialog/Confirm.vue +++ b/next-ui/src/components/dialog/Confirm.vue @@ -42,7 +42,7 @@ { return (v: unknown) => other === v || err || 'Field must have the same value' }, + sameAsIgnoreCase: (other?: string, err?: string) => { + return (v: unknown) => + other?.localeCompare(String(v), undefined, { sensitivity: 'accent' }) == 0 || + err || + 'Field must have the same value' + }, }, }, vuetify.locale,