1234567891011121314 |
- // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- import type { FormKitNode } from '@formkit/core'
- import extendSchemaDefinition from '#shared/form/utils/extendSchemaDefinition.ts'
- const extendLabel = (node: FormKitNode) => {
- extendSchemaDefinition(node, 'label', {
- attrs: {
- id: '$: "label-" + $id',
- },
- })
- }
- export default extendLabel
|