Telerik Forums
Kendo UI for Angular Forum
0 answers
207 views

Hi

 

I have an Reactive Form with 3 kendo-button

"save" "cancel" and "addPhoneNumber"

This last button add an array with two input textField, BUT it execute code to ""onSaveButtonClick" Event !

How avoid this and execute code "addTelephoneNumber"

Regards

 

 

 

  <form *ngIf="formCreate" [formGroup]="formCreate" (ngSubmit)="onSaveButtonClick()">

    <div class="col-xs-12">
      <button kendoButton iconClass="fa fa-times" id="annulerContactBtn" class="k-primary k-button ng-hide"
              (click)="onCancelButtonClick()"
              [disabled]="isLoading"
      >
        {{'button.cancel' | translate | titlecase}}
      </button>
      <button kendoButton iconClass="far fa-save" id="sauvegarderContactBtn" class="k-primary k-button ng-hide"
              [primary]="true"
              [disabled]="formCreate.invalid || isLoading"
      >
        {{'button.save' | translate | titlecase}}
      </button>

.....
......

  <button kendoButton look="clear" icon="image"
          (click)="addTelephoneNumber()"> {{'contact.edit.button.addtelephone' | translate}}</button>
</label>

</form>

vamaw
Top achievements
Rank 1
Iron
Iron
 updated question on 25 Jun 2021
1 answer
170 views

when I try to login to telerik using cmd I faced to attached error.

I run this command:
npm login --registry=https://registry.npm.telerik.com/ --scope=@progress

Hetali
Telerik team
 answered on 24 Jun 2021
1 answer
79 views

Hi,

 

I have an error on your sample

https://psp3kv--run.stackblitz.io

 

 Type 'string' is not assignable to type 'SelectableMode'.

74             mode: this.mode,
               ~~~~

Regards

Martin Bechev
Telerik team
 answered on 24 Jun 2021
1 answer
680 views

I am implementing the use of the editor in my application and have found on many occasions that the editor throws an error when using the CTL + i to turn on the italicize function. 

Steps to repro.

  1. Type some text into the editor.
  2. press CTL + i to turn on italicize
  3. type some text
  4. press CTL + i to turn off italicize
  5. type a space
  6. press CTL + i to turn on italicize
 Error:  RangeError: Applying a mismatched transaction. And then the editor CTL function no longer work...
Yanmario
Telerik team
 answered on 23 Jun 2021
1 answer
171 views

Hi,

 

Could i make all validation like Mask only in HTML File ?

Like this ?


@Component({
selector: "my-app11b",
template: `
<form #templateForm11b="ngForm" novalidate>
<p>Enter valid postcode (A9 9AA)</p>
<kendo-maskedtextbox
name="value1"
[(ngModel)]="value10b"
[mask]="A9 9AA"
[maskValidation]="true"
></kendo-maskedtextbox>
<button [disabled]="!templateForm11b.valid" type="submit" class="k-button">
Submit
</button>
</form>
`,
})
export class AppComponent11b {
public value10b = "M1 1AE"; //only data
}

 

Regards

 

Martin Bechev
Telerik team
 answered on 23 Jun 2021
1 answer
304 views

Hi,

 

I search an elegant way for connecting together mask field and control of this field only in typescript.

Do you have an template ?

I want avoid two separate datas for same field

 

Regards

 

 

Martin Bechev
Telerik team
 answered on 23 Jun 2021
1 answer
396 views

Hi,

 

On angular12 i have an error with thi sample

https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection/

Error: src/app/app.component.ts:76:13 - error TS2322: Type 'string' is not assignable to type 'SelectableMode'.
76             mode: this.mode,
               ~~~~

  node_modules/@progress/kendo-angular-grid/dist/es2015/selection/types.d.ts:108:5
    108     mode?: SelectableMode;
            ~~~~

Regards

Silviya
Telerik team
 answered on 23 Jun 2021
1 answer
291 views
If the dropdown items are using the grouping functionality then the built in filtering directive doesn't work. at least for multiselect.  I don't know about all dropdowns.
Martin Bechev
Telerik team
 answered on 22 Jun 2021
1 answer
410 views

Hey,

I was looking for an out of the box solution for splitting a list of menu items into two columns in a menu if there are x amount of items in that menu.

thanks!

Svet
Telerik team
 answered on 22 Jun 2021
1 answer
287 views

Hi,

Is there an Online tool for migrating Kendo AngularJS HTML page to Kendo Angular12 ?

 

Regards

Hetali
Telerik team
 answered on 21 Jun 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?