index.ts 465 B

123456789101112131415
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { hidden as hiddenDefinition } from '@formkit/inputs'
  3. import initializeFieldDefinition from '#shared/form/core/initializeFieldDefinition.ts'
  4. import formUpdaterTrigger from '#shared/form/features/formUpdaterTrigger.ts'
  5. initializeFieldDefinition(hiddenDefinition, {
  6. features: [formUpdaterTrigger()],
  7. })
  8. export default {
  9. fieldType: 'hidden',
  10. definition: hiddenDefinition,
  11. }