Permalink
Browse files

version/docs++

  • Loading branch information...
1 parent 62b451d commit 93e15196f6362b6cb5e6e8a1a488b7d43c6583b9 @clayallsopp committed Oct 27, 2012
Showing with 27 additions and 2 deletions.
  1. +9 −1 CHANGELOG.md
  2. +17 −0 LIST_OF_ROW_TYPES.md
  3. +1 −1 lib/formotion/version.rb
View
@@ -1,9 +1,17 @@
-## 1.x - ??
+## 1.1.3 - ??
+
+### Features
+
+- Support a generic `:button` `RowType` which can be used in conjunction with a `Row`'s `on_tap` method.
### Bug Fixes
+- Fixed bug where pushing a subform inherited from current controller class, which could cause expected behavior.
+
- Fixed crash when a Slider or Switch row type had an empty :title
+- Fixed device crash when taking photo
+
## 1.1.2 - October 6, 2012
### Bug Fixes
View
@@ -18,6 +18,7 @@
[Template](#template)
**Buttons**<br/>
+[Button](#button)<br/>
[Submit](#submit)<br/>
[Back](#back)<br/>
[Edit](#edit)<br/>
@@ -343,6 +344,22 @@ Use a `:display_key` to show the value of the subform in the row:
## Buttons
+### <a name="button"></a> Button row
+
+```ruby
+{
+ title: "Any Button",
+ type: :button,
+}
+
+# later...
+form.sections[0].rows[0].on_tap do |row|
+ # do something when tapped
+end
+```
+
+The `SubmitRow` triggers the `form.submit` which triggers the defined `on_submit` callback.
+
### <a name="submit"></a> Submit row
![Submit row](https://github.com/clayallsopp/formotion/wiki/row-types/submit.png)
View
@@ -1,3 +1,3 @@
module Formotion
- VERSION = "1.1.2"
+ VERSION = "1.1.3"
end

0 comments on commit 93e1519

Please sign in to comment.