RTL Support in EJ 1 Angular CurrencyTextbox
10 Jan 2018 / 1 minute to read
The Textbox provides RTL (Right-To-Left) support. The alignment of CurrencyTextBox can be changed from Left-To-Right into Right-To-Left.
Enable RTL
The following steps explain the implementation of enableRTL in CurrencyTextBox.
In the HTML page set the corresponding <input> elements for rendering CurrencyTextBox controls.
<input id="currency" type="text" ej-currencytextbox [value]="value" [enableRTL]="true" />
import { Component } from '@angular/core';
@Component({
selector: 'ej-app',
templateUrl: 'src/currencytextbox/currencytextbox.component.html'
})
export class CurrencyTextboxComponent {
public value: number;
constructor() {
this.value = 33;
}
}
The output for CurrencyTextBox when enableRTL is “true” is as follows.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page