Skip to content

Add new option 'numeralDecimalPadding'.#707

Open
oxosi wants to merge 2 commits intonosir:masterfrom
oxosi:master
Open

Add new option 'numeralDecimalPadding'.#707
oxosi wants to merge 2 commits intonosir:masterfrom
oxosi:master

Conversation

@oxosi
Copy link

@oxosi oxosi commented Dec 31, 2022

A Boolean value indicates padding decimals with zeros.
Default value: false

new Cleave('.my-input', {
    numeral: true,
    numeralDecimalScale: 2,
    numeralDecimalPadding: true
});

// 1234.00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant