Skip to content

Commit

Permalink
Merge pull request #49 from open-formulieren/issue/4362-remove-defaul…
Browse files Browse the repository at this point in the history
…t-value-translation-support

Remove support for defaultValue translations
  • Loading branch information
sergei-maertens authored Jun 13, 2024
2 parents ee9bb94 + 5bfcde7 commit b12e38f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/formio/components/textarea.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {InputComponentSchema, MultipleCapable} from '..';

type Validator = 'required' | 'maxLength' | 'pattern';
type TranslatableKeys = 'label' | 'description' | 'tooltip' | 'defaultValue' | 'placeholder';
type TranslatableKeys = 'label' | 'description' | 'tooltip' | 'placeholder';

export type TextareaInputSchema = InputComponentSchema<string, Validator, TranslatableKeys>;

Expand Down
2 changes: 1 addition & 1 deletion src/formio/components/textfield.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {InputComponentSchema, MultipleCapable, PrefillConfig} from '..';

type Validator = 'required' | 'maxLength' | 'pattern';
type TranslatableKeys = 'label' | 'description' | 'tooltip' | 'defaultValue' | 'placeholder';
type TranslatableKeys = 'label' | 'description' | 'tooltip' | 'placeholder';

export type TextFieldInputSchema = InputComponentSchema<string, Validator, TranslatableKeys>;

Expand Down

0 comments on commit b12e38f

Please sign in to comment.