attenderModel = new FormGroup({
name: new FormControl<string>('', {nonNullable: true, validators: Validators.required}),
surname: new FormControl<string>('', {nonNullable: true, validators: Validators.required}),
email: new FormControl<string>('', {nonNullable: true, validators: [Validators.required, Validators.email,
Validators.pattern("^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9.-]+.[a-z]{2,}$")]}),
organization: new FormControl<string>('', {nonNullable: true, validators: Validators.required}),
address: new FormControl<string>('', {nonNullable: true, validators: Validators.required}),
ico: new FormControl<string>(''),
dic: new FormControl<string>(''),
attenderType: new FormControl<TypCloveka | null>(null, Validators.required),
regVariant: new FormControl<VariantRegistracie | null>(null, Validators.required),
workshop: new FormControl<Workshop | null>(null),
paymentMethod: new FormControl<string>('', {nonNullable: true, validators: Validators.required}),
extraOptions: new FormArray([]),
notes: new FormControl<string>('',{nonNullable: true})
});