Implement password change function

This commit is contained in:
2025-07-16 08:42:09 +02:00
parent 37f381c884
commit f518723a0e
10 changed files with 219 additions and 48 deletions

View File

@ -0,0 +1,9 @@
import type { Ref } from 'vue'
import SlInput from '@shoelace-style/shoelace/dist/components/input/input.js'
export function setFieldValidation(field: Ref<SlInput>, errorMessage: string = '') {
// Set validation on a field
field.value?.setCustomValidity(errorMessage)
field.value?.reportValidity()
}