Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

I want to get the values from my checkboxes but I can only get true or false. Here is my template: <h4>Categories</h4> <div class="form-check" *ngFor="let cat of categories$|async"> <input class="form-check-input" [(ngModel)]="cat.id" name="{{ cat.name }}" type="checkbox" id="{{cat.name}}"> <label ...

  • 0

I want to get the values from my checkboxes but I can only get true or false. Here is my template: <h4>Categories</h4> <div class="form-check" *ngFor="let cat of categories$|async"> <input class="form-check-input" [(ngModel)]="cat.id" name="{{ cat.name }}" type="checkbox" id="{{cat.name}}"> <label ...

  • 0

Hi I am implementing a form in angular 2 using Form Builder in component.ts i have implemented my form using formGroup Below is My code public myForm: FormGroup;constructor(private authenticateservice: AuthenticateService, ...

  • 0

I have a FormGroup that was created like that: form: FormGroup;constructor(private _formBuilder: FormBuilder) { }this.form = this._formBuilder.group({ name: ['', Validators.required], email: ['', Validators.required, Validators.email] }); When an event occurs I want to disable those inputs, so, in the HTML I added: <input ...

  • 0

I have a FormGroup defined like below: this.businessFormGroup: this.fb.group({ 'businessType': ['', Validators.required], 'description': ['', Validators.compose([Validators.required, Validators.maxLength(200)])], 'income': [''] })Now when businessType is Other , I want to remove Validators.required validator from description. And if businessType is not Other, I want to add back ...

  • 0

I am quite new in the angular 4 world and I’m trying to add “Edit / Delete” button for each row & header column is ‘Action’ in the md-table component in Angular Material design with Angular 4. how can I ...

close