"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app/shared/input-suggestions/validation-suggestions/validation-suggestions.component.ts" between
dspace-angular-dspace-7.0.tar.gz and dspace-angular-dspace-7.1.tar.gz

About: dspace-angular is the Angular-based frontend of DSpace, a digital repository system to capture, store, index, preserve and redistribute an organization’s research material in digital formats.

validation-suggestions.component.ts  (dspace-angular-dspace-7.0):validation-suggestions.component.ts  (dspace-angular-dspace-7.1)
skipping to change at line 45 skipping to change at line 45
/** /**
* The metadatum of this field * The metadatum of this field
*/ */
@Input() metadata: MetadatumViewModel; @Input() metadata: MetadatumViewModel;
/** /**
* The suggestions that should be shown * The suggestions that should be shown
*/ */
@Input() suggestions: InputSuggestion[] = []; @Input() suggestions: InputSuggestion[] = [];
/**
* The possibility to edit metadata
*/
@Input() disable;
constructor(private metadataFieldValidator: MetadataFieldValidator, constructor(private metadataFieldValidator: MetadataFieldValidator,
private objectUpdatesService: ObjectUpdatesService) { private objectUpdatesService: ObjectUpdatesService) {
super(); super();
} }
ngOnInit() { ngOnInit() {
this.form = new FormGroup({ this.form = new FormGroup({
metadataNameField: new FormControl(this._value, { metadataNameField: new FormControl(this._value, {
asyncValidators: [this.metadataFieldValidator.validate.bind(this.metadat aFieldValidator)], asyncValidators: [this.metadataFieldValidator.validate.bind(this.metadat aFieldValidator)],
validators: [Validators.required] validators: [Validators.required]
 End of changes. 1 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)