Skip to content
Snippets Groups Projects

Resolve "Réorganisation criterion (null, not null)"

Merged Angapay Divin requested to merge 41-reorganisation-criterion-null-not-null into develop
Files
35
import { Directive, Input } from '@angular/core';
/**
 
* This file is part of Anis Client.
 
*
 
* @copyright Laboratoire d'Astrophysique de Marseille / CNRS
 
*
 
* For the full copyright and license information, please view the LICENSE
 
* file that was distributed with this source code.
 
*/
 
 
import { Directive } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { FormGroup } from '@angular/forms';
import { Attribute } from 'src/app/metamodel/models';
import { Attribute } from 'src/app/metamodel/models';
@@ -12,6 +21,7 @@ export abstract class AbstractSearchTypeComponent {
@@ -12,6 +21,7 @@ export abstract class AbstractSearchTypeComponent {
form: FormGroup;
form: FormGroup;
operators = searchTypeOperators;
operators = searchTypeOperators;
 
nullOrNotNull: string = '';
constructor() { }
constructor() { }
@@ -26,6 +36,7 @@ export abstract class AbstractSearchTypeComponent {
@@ -26,6 +36,7 @@ export abstract class AbstractSearchTypeComponent {
} else {
} else {
this.form.enable();
this.form.enable();
this.form.reset();
this.form.reset();
 
this.nullOrNotNull = '';
}
}
}
}
Loading