Unplanned
Last Updated: 06 Nov 2024 08:12 by Mauro
Created by: Mauro
Comments: 0
Category: FloatingLabel
Type: Feature Request
1

Add an API method to manually clear the k-invalid class on labels, allowing developers to reset label validity programmatically without triggering additional events.

Workaround the Label invalid hidden API:

https://stackblitz.com/edit/angular-taa4kx-idl51r?file=src%2Fapp%2Fapp.component.ts

@ViewChild(FloatingLabelComponent) private fl: FloatingLabelComponent;

public resetLabelValidity(): void {
 this.fl.invalid = false;
}

Completed
Last Updated: 13 May 2020 08:02 by ADMIN
Created by: Akhileshwar
Comments: 3
Category: FloatingLabel
Type: Bug Report
0
 We have an issue with 'floatingLabel' when used with combobox.

 

To reproduce/see the issue please replace/run the below code in any Kendo - combobox example.

Issue:
step 1: Click inside combobox
Step 2: Press Esc key
Step 3: Start typing combobox items
As a result we can see that label overlaps with value inside combobox which is an issue. Can you please provide some quick resolution on this. Thanks

import { Component } from '@angular/core';
@Component({
  selector: 'my-app',
  template: `
  <kendo-textbox-container floatingLabel="First name">
    <kendo-combobox
      [data]="listItems"
      [textField]="'text'"
      [valueField]="'value'"
      [valuePrimitive]="true"
    >
    </kendo-combobox>
  </kendo-textbox-container>
  `
})
export class AppComponent {
  public listItems: Array<{ text: string, value: string }> = [
    { text: "Small", value: '' },
    { text: "Medium", value: '2' },
    { text: "Large", value: '3' }
    ];
}