<commit_before>import { Component } from '@angular/core';
import { FormGroup, FormControl, FormBuilder, Validators } from '@angular/forms';

@Component({
  selector: 'my-app',
  templateUrl: './app/app.component.html',
  styleUrls: ['./app/app.component.css']
})
export class AppComponent {

  checkinForm: FormGroup;
  bookingCode: string = "";
  familyName: string = "";

  constructor(private formBuilder: FormBuilder) {}

  ngOnInit() {
    this.checkinForm = this.formBuilder.group({
      bookingcode: ['', Validators.required],
      familyname: ['', Validators.required],
    });
  }

  onCheckinDetailsSubmit(){
    console.log('KLM Checkin: Checkin Form Submitted'); 
    this.bookingCode = this.checkinForm.controls['bookingcode']['value'];
    this.familyName = this.checkinForm.controls['familyname']['value'];
    console.log(this.bookingCode);
    
  }
  
}<commit_msg>Updating component file<commit_after>import { Component } from '@angular/core';
import { FormGroup, FormControl, FormBuilder, Validators } from '@angular/forms';

@Component({
  selector: 'my-app',
  templateUrl: './app/app.component.html',
  styleUrls: ['./app/app.component.css']
})
export class AppComponent {

  checkinForm: FormGroup;
  bookingCode: string = "";
  familyName: string = "";

  constructor(private formBuilder: FormBuilder) {}

  ngOnInit() {
    this.checkinForm = this.formBuilder.group({
      bookingcode: ['', Validators.required],
      familyname: ['', Validators.required],
    });
  }

  onCheckinDetailsSubmit(){
    console.log('KLM Checkin: Checkin Form Submitted'); 
    this.bookingCode = this.checkinForm.controls['bookingcode']['value'];
    this.familyName = this.checkinForm.controls['familyname']['value']    
  }
  
}
{'fraction_non_alphanumeric': 0.15623205054566341, 'fraction_numerical': 0.0, 'mean_word_length': 4.2948328267477205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1959606', 'n_tokens_mistral': 537, 'n_tokens_neox': 529, 'n_words': 97}