Set the rounded corner in Angular TextBox component

26 Oct 20241 minute to read

Render the TextBox with rounded corner by adding the e-corner class to the cssClass property of the TextBoxComponent.

This rounded corner visible only in box model input component

import { Component } from '@angular/core';
import { TextBoxModule } from '@syncfusion/ej2-angular-inputs';

@Component({
imports: [
        TextBoxModule
    ],


standalone: true,
    selector: 'app-root',
    template: `<div class="wrap">
                 <ejs-textbox placeholder="Enter Date" floatLabelType="Auto" cssClass="e-corner"></ejs-textbox>
              </div>`
})

export class AppComponent {
}
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import 'zone.js';
bootstrapApplication(AppComponent).catch((err) => console.error(err));