|
|
@ -355,6 +355,11 @@ export class GfCreateOrUpdateActivityDialog implements OnDestroy { |
|
|
|
this.activityForm.get('fee').setValue(0); |
|
|
|
this.activityForm.get('name').setValidators(Validators.required); |
|
|
|
this.activityForm.get('name').updateValueAndValidity(); |
|
|
|
|
|
|
|
if (type === 'ITEM') { |
|
|
|
this.activityForm.get('quantity').setValue(1); |
|
|
|
} |
|
|
|
|
|
|
|
this.activityForm |
|
|
|
.get('searchSymbol') |
|
|
|
.removeValidators(Validators.required); |
|
|
|