Skip to content

Commit fb1c138

Browse files
committed
Correct README error
`data-symbol` should be `data-prefix`
1 parent 89c45c8 commit fb1c138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ We have 3 bonus methods that can be useful to you:
5959
You can also configure maskMoney options using the data-* API instead of passing it as a hash in the `.maskMoney` method call. To use it, simply set the options using `data-<option>`, like this:
6060

6161
```html
62-
<input type="text" data-affixes-stay="true" data-symbol="R$ " data-thousands="." data-decimal="," />
62+
<input type="text" data-affixes-stay="true" data-prefix="R$ " data-thousands="." data-decimal="," />
6363
```
6464

6565
And when you bind maskMoney to that field, we will read those options. **ATTENTION**: for settings that isn't entirely lowercase, you will need to use dashes instead of capital letters. For example, to set `allowZero`, you will need to add a attribute called `data-allow-zero`.

0 commit comments

Comments
 (0)