Skip to content

Commit

Permalink
Cleanup types
Browse files Browse the repository at this point in the history
  • Loading branch information
norda-gunni committed Dec 13, 2024
1 parent a5ce555 commit b7dcbdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ export const ExampleForm: Form = buildForm({
phoneLabel: 'Símanúmer',
emailLabel: 'Netfang',
required: true,
phone: true,
showPhone: true,
phoneRequired: true,
email: true,
showEmail: true,
emailRequired: true,
},
},
Expand Down
6 changes: 2 additions & 4 deletions libs/application/types/src/lib/Fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ export type RepeaterItem = {
activeField?: Record<string, string>,
) => boolean
dataTestId?: string
phone?: boolean
showPhone?: boolean
phoneRequired?: boolean
email?: boolean
showEmail?: boolean
emailRequired?: boolean
readonly?:
| boolean
Expand Down Expand Up @@ -627,8 +627,6 @@ export type TableRepeaterField = BaseField & {
marginBottom?: ResponsiveProp<Space>
titleVariant?: TitleVariants
fields: Record<string, RepeaterItem>
phone?: boolean
email?: boolean
/**
* Maximum rows that can be added to the table.
* When the maximum is reached, the button to add a new row is disabled.
Expand Down

0 comments on commit b7dcbdd

Please sign in to comment.