Skip to content

Commit 7121574

Browse files
Fix issue autoNumeric#3 Update the value when the :options prop is modified
Signed-off-by: Alexandre Bonneau <[email protected]>
1 parent d8b5421 commit 7121574

File tree

7 files changed

+124
-86
lines changed

7 files changed

+124
-86
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Changelog for vue-autoNumeric
22

3+
### 1.0.2
4+
+ Fix issue #3 Update the value when the `:options` prop is modified
5+
36
### 1.0.1
47
+ Rename the component source from `Autonumeric` to `VueAutonumeric` to prevent confusion with the `AutoNumeric` library
58
+ Update the examples source accordingly

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ This wrapper supports setting the AutoNumeric options via an `:options` [prop](h
100100

101101
The `paste`, `drop` and `wheel` events are supported as well.
102102

103+
Moreover, if you modify the `:options` prop, the AutoNumeric settings will be automatically updated with the new options.
104+
103105
### Caveats
104106

105107
Please note that directly setting a `:value='42'` on the `<vue-autonumeric>` component **will break it** (really!).<br>

0 commit comments

Comments
 (0)