
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
angular-weblineindia-currency-input
Advanced tools
An Angular-based currency input component for adding currency field.
An Angular-based currency input component for adding currency field.
![]() | ![]() | ![]() | ![]() | ![]() |
|---|---|---|---|---|
| 83.0 ✔ | 77.0 ✔ | 13.1.1 ✔ | 83.0 ✔ | 11.9 ✔ |
Install the npm package:
npm install angular-weblineindia-currency-input
#OR
yarn add angular-weblineindia-currency-input
Use the <angular-weblineindia-currency-input> component:
Add in app.module.ts file
import { NgModule } from "@angular/core";
import { AngularWeblineindiaCurrencyInputModule } from "angular-weblineindia-currency-input";
@NgModule({
imports: [AngularWeblineindiaCurrencyInputModule],
})
export class AppModule {}
Add in app.component.ts file
export class AppComponent {
constructor() {}
isInvalidPhoneNumber: boolean = false;
invalidMessage: string = "onFocusHandler(event: any): void";
onFocusHandler(event: any): void {
console.log("onFocusHandler: ", event.target.value);
}
onBlurHandler(event: any): void {
console.log("onBlurHandler: ", event.target.value);
}
onChangeHandler(event: any): void {
console.log("onChangeHandler: ", event.target.value);
}
onKeyPressHandler(event: any): void {
console.log("onKeyPressHandler: ", event.target.value);
}
onKeyDownHandler(event: any): void {
console.log("onKeyDownHandler: ", event.target.value);
}
onKeyUpHandler(event: any): void {
console.log("onKeyUpHandler: ", event.target.value);
}
}
Add in app.component.html file
<angular-weblineindia-currency-input
name="myInputName"
[value]="203000.45"
classname="currency-input"
errorClass="errorMessage"
placeholder="Enter amount here"
[disabled]="true"
[required]="false"
[prefix]="'$Rs'"
[isInvalidPhoneNumber]="isInvalidPhoneNumber"
[invalidMessage]="invalidMessage"
(focus)="onFocusHandler($event)"
(blur)="onBlurHandler($event)"
(change)="onChangeHandler($event)"
(keyPress)="onKeyPressHandler($event)"
(keyDown)="onKeyDownHandler($event)"
(keyUp)="onKeyUpHandler($event)"
>
</angular-weblineindia-currency-input>
Add in app.component.css file
::ng-deep .currency-input {
}
::ng-deep .errorClass {
color: RED;
margin: 0;
}
| Prop | Type | default | Description |
|---|---|---|---|
| name | String | Name for the input | |
| value | String | Initial value of input | |
| classname | String | false | CSS class applied for curency input. |
| errorClass | String | CSS class applied for error message | |
| placeholder | String | The input field will get this placeholder text | |
| required | boolean | false | If true, makes the input field mandatory. |
| disabled | boolean | false | If true, disables the input field. |
| prefix | String | To set currency type | |
| isInvalidPassword | boolean | false | Indicates if the currency is invalid |
| invalidMessage | String | Message to display when the currncy is invalid |
| Name | Description |
|---|---|
| focus | Gets triggered when the autocomplete input field receives focus. |
| blur | Gets triggered when the autocomplete input field loses focus. |
| keyPress | Gets triggered when a key gets pressed. |
| keyDown | Gets triggered when a key gets down. |
| keyUp | Gets triggered when a key gets up. |
We have built many other components and free resources for software development in various programming languages. Kindly click here to view our Free Resources for Software Development
Detailed changes for each release are documented in CHANGELOG.md.
angular-weblineindia-currency-input, currencyInput, input, angular, angular-component, currencyInput-component, currencyInput-box
FAQs
An Angular-based currency input component for adding currency field.
We found that angular-weblineindia-currency-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.