Skip to content

Commit efcc5be

Browse files
authored
Update CHANGELOG.md
1 parent cb3add0 commit efcc5be

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

CHANGELOG.md

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,35 @@
22

33
## v1.3.0 Release
44

5+
### Potential breaking change
6+
7+
If you have used a `form_submit` component like this:
8+
9+
```ruby
10+
form_submit do
11+
button text: "Submit me!", attributes: { "v-bind:disabled": "loading" }
12+
end
13+
```
14+
15+
in order to disable the the button during submission of the form, please turn `loading` into `loading()`:
16+
17+
18+
```ruby
19+
form_submit do
20+
button text: "Submit me!", attributes: { "v-bind:disabled": "loading()" }
21+
end
22+
```
23+
24+
If you have implemented your own form components, please adjust them as described in the customize section of each form component. Most likely, you now have to provide exactly one root element per form component due to the reworked form components.
25+
526
### Improvements
627

728
- Splitted form API docs into multiple files
8-
- Implements #474 Add HTML <select> tag to core components
9-
- Implements #492 Enable extendability of form_* components
10-
- Reworked form_* components in order to provide a better API for custom form components
11-
- form_* components are separate Vue.js components now
12-
- Each form_* uses a Vue.js mixin and a Ruby base class. This mixin and base class can be used in custom components in order to easy create own form components
29+
- Implements #474 Add HTML `<select>` tag to core components
30+
- Implements #492 Enable extendability of `form_*` components
31+
- Reworked `form_*` components in order to provide a better API for custom form components
32+
- `form_*` components are separate Vue.js components now
33+
- Each `form_*` uses a Vue.js mixin and a Ruby base class. This mixin and base class can be used in custom components in order to easy create own form components
1334

1435
## Bugfixes
1536

0 commit comments

Comments
 (0)