feat(Form): use nuxt useId to bind input labels (#1211)

This commit is contained in:
Romain Hamel
2024-01-31 18:22:02 +01:00
committed by GitHub
parent be37daec56
commit 27c71fa40e
5 changed files with 20 additions and 36 deletions

View File

@@ -1,6 +0,0 @@
let _id = 0
export function uid () {
_id = (_id + 1) % Number.MAX_SAFE_INTEGER
return `nuid-${_id}`
}