Skip to content

Commit

Permalink
chore: add hidden form field type
Browse files Browse the repository at this point in the history
  • Loading branch information
tahmidrahman-dsi committed Jan 10, 2025
1 parent 4ac312d commit 867a1ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/form/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export const NID_VERIFICATION_BUTTON = 'NID_VERIFICATION_BUTTON'
export const DIVIDER = 'DIVIDER'
export const HEADING3 = 'HEADING3'
export const SIGNATURE = 'SIGNATURE'
export const HIDDEN = 'HIDDEN'
export const LINK_BUTTON = 'LINK_BUTTON'
export const ID_READER = 'ID_READER'
export const HTTP = 'HTTP'
Expand Down Expand Up @@ -495,6 +496,10 @@ export interface ISignatureFormField extends IFormFieldBase {
)[]
}

export interface IHiddenFormField extends IFormFieldBase {
type: typeof HIDDEN
}

export interface IHttpFormField extends IFormFieldBase {
type: typeof HTTP
options: {
Expand Down Expand Up @@ -573,6 +578,7 @@ export type IFormField =
| IDividerField
| IHeading3Field
| ISignatureFormField
| IHiddenFormField
| IIDReaderFormField
| ILinkButtonFormField
| IHttpFormField
Expand Down

0 comments on commit 867a1ff

Please sign in to comment.