Skip to content

Commit 0cb2aac

Browse files
committed
[1.4.2] Fixed buttonsPosition prop validator for <Form />
1 parent fe36280 commit 0cb2aac

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.4.2
2+
3+
### Fixed
4+
5+
- `buttonsPosition` prop validator for `<Form />`
6+
17
## 1.4.1
28

39
### Added:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ See demo at [https://detools.github.io/vue-form](https://detools.github.io/vue-f
7878

7979
## Changelog
8080

81+
- [1.4.2](/CHANGELOG.md#142)
8182
- [1.4.1](/CHANGELOG.md#141)
8283
- [1.4.0](/CHANGELOG.md#140)
8384

VueForm/Form.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default {
2525
buttonsPosition: {
2626
type: String,
2727
default: () => 'start',
28-
validate: value => Object.values(BUTTONS_POSITION).includes(value),
28+
validator: value => Object.values(BUTTONS_POSITION).includes(value),
2929
},
3030
3131
initialValues: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@detools/vue-form",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"description": "Vue Form component on hooks",
55
"main": "VueForm/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)