@using Syncfusion.EJ2.Blazor.Inputs
<EjsTextBox Readonly="true" CssClass="custom-class" Placeholder="Total Charge" HtmlAttributes="@RightAlignTextbox" FloatLabelType="FloatLabelType.Always" Value="100.00"></EjsTextBox>
@code {
private Dictionary<string, object> RightAlignTextbox { get; set; } = new Dictionary<string, object>() { { "style", "text-align: right;" } };
}
<style>
.custom-class.e-control-wrapper .e-textbox {
text-align:right;
}
</style> |