Skip to content

Not allowing to change existing number to 0 #1381

Closed
@GaikwadVikas

Description

@RobinHerbots ,
Please, visit your demosilte
Now enter any amount in Currency input. After that select that amount and press 0. It will not allow, But it is working for other than 0.
I want to change entered amount into 0.

I extended Aliases as below:

Inputmask.extendAliases({
currency: {
prefix: "",
groupSeparator: "",
alias: "numeric",
placeholder: "0",
autoGroup: false,
digits: 4,
digitsOptional: true,
positionCaretOnClick: "none",
clearMaskOnLostFocus: false,
removeMaskOnSubmit: true,
autoUnmask: true
}
});

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions