Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

version/docs++

  • Loading branch information...
commit 93e15196f6362b6cb5e6e8a1a488b7d43c6583b9 1 parent 62b451d
@clayallsopp authored
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
10 CHANGELOG.md
@@ -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
17 LIST_OF_ROW_TYPES.md
@@ -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
2  lib/formotion/version.rb
@@ -1,3 +1,3 @@
module Formotion
- VERSION = "1.1.2"
+ VERSION = "1.1.3"
end
Please sign in to comment.
Something went wrong with that request. Please try again.