Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Nov 30, 2023
1 parent c28b829 commit 8079f19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/formio/components/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ type TranslatableKeys = 'label' | 'description' | 'tooltip';

export interface AddressData {
postcode: string;
housenumber: string;
houseletter?: string;
housenumberaddition?: string;
houseNumber: string;
houseLetter: string;
houseNumberAddition: string;
}

export type AddressInputSchema = InputComponentSchema<AddressData, Validator, TranslatableKeys>;
Expand All @@ -17,6 +17,6 @@ export type AddressInputSchema = InputComponentSchema<AddressData, Validator, Tr
* @category Concrete types
*/
export interface AddressComponentSchema
extends Omit<AddressInputSchema, 'hideLabel' | 'placeholder' | 'disabled'> {
extends Omit<AddressInputSchema, 'hideLabel' | 'placeholder' | 'disabled' | 'validateOn'> {
type: 'address';
}
1 change: 0 additions & 1 deletion src/formio/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export type AnyComponentSchema =
| LicensePlateComponentSchema
| BsnComponentSchema
| NpFamilyMembersComponentSchema
// Composed types
| AddressComponentSchema
// layout
| ContentComponentSchema;
Expand Down

0 comments on commit 8079f19

Please sign in to comment.