Skip to content

Commit

Permalink
Merge pull request #44 from open-formulieren/issue/3922-fix-bad-prefi…
Browse files Browse the repository at this point in the history
…ll-copy

Disallow null values for prefill plugin or attribute
  • Loading branch information
sergei-maertens authored Feb 28, 2024
2 parents 610e66d + 3484be0 commit 6e1e504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/formio/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export interface DisplayConfig {
*/
export interface PrefillConfig {
prefill?: {
plugin: string | null;
attribute: string | null;
plugin: string; // when no prefill is applicable, the value must be empty string
attribute: string; // when no prefill is applicable, the value must be empty string
identifierRole: 'main' | 'authorised_person';
};
}
Expand Down

0 comments on commit 6e1e504

Please sign in to comment.