Skip to content
Snippets Groups Projects
Commit fe8b8d4a authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

fix issue 36

parent 6b1f3143
No related branches found
No related tags found
4 merge requests!418V2.1.0,!400V2.0,!343fix(form): fix issues,!230V2.0
......@@ -79,7 +79,7 @@ export class formUtils {
*/
public createStructureForm(structure: Structure, isEditMode?: boolean): UntypedFormGroup {
return new UntypedFormGroup({
_id: new UntypedFormControl(structure._id),
_id: new UntypedFormControl(structure._id, Validators.required),
coord: new UntypedFormControl(structure.coord),
structureType: new UntypedFormControl(structure.structureType, Validators.required),
structureName: new UntypedFormControl(structure.structureName, Validators.required),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment