kendoComboBoxNoDataTemplate Can we customized and add kendotextarea which is resizable="both"

1 Answer 14 Views
ComboBox TextArea
Sandip
Top achievements
Rank 1
Sandip asked on 08 Apr 2024, 07:57 AM
@Component({
selector: 'my-app',
template: `
 <kendo-combobox [data]="listItems">
   <ng-template kendoComboBoxNoDataTemplate>
     <h4>No data!</h4>
   </ng-template>
 </kendo-combobox>
`
})
class AppComponent {
  public listItems: Array<string> = [];
}





<ng-template kendoComboBoxNoDataTemplate>
                            <kendo-textarea  placeholder="Enter text here." [rows]="4"  resizable="both"
                                formControlName="name">
                            </kendo-textarea>
                        </ng-template>
but showing like this. is this kendo-textarea can we show properly in this template.

1 Answer, 1 is accepted

Sort by
0
Hetali
Telerik team
answered on 10 Apr 2024, 08:07 PM

Hello Sandip,

The Kendo UI TextArea can be added in the No-Data Template of the ComboBox.

I have created this StackBlitz example where I have added a TextArea with resizable set to both in the no-data template of the ComboBox and it is working as expected.

Output:

To further assist you, could you please update the example such that it replicates the behavior observed on your end or send an isolated Angular application? 

Looking forward to hearing from you.

Regards,
Hetali
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
ComboBox TextArea
Asked by
Sandip
Top achievements
Rank 1
Answers by
Hetali
Telerik team
Share this question
or