- Fixed a bug in
picker_rowwhere the value of picker wasn't being set indidSelectRow.
-
Added
:input_accessoryproperty, which currently accepts:doneas the value. This will add aUIToolbarabove the keyboard with a "Done" button the user can tap to dismiss the keyboard. -
Added
Row#on_deletecallback which occurs when a row is swipe-to-delete'd.
-
:imagerows which are not editable do not show the "plus" icon.
-
Added
:currencyrow type, which automatically presents an entered number into the current locale's format (i.e. "$4,003.45" or "€ 3.004,35") -
Added
on_deletecallback for when aRowis deleted -
Correctly handle
on_tapforRowobjects, regardless of whether or not they are:buttons.
-
Fixed a crash that occured when rapidly serializing a form.
-
Template rows are now persisted correctly.
-
ImageRows which are disabled will not show the "plus" icon
-
Added
:picker_moderow property which lets you choose what type of date picker you're using (i.e.:date,:time,:date_time, or:countdown) -
Added
:text_alignmentrow property which controls how a row's input field's text is aligned (i.e.:right(default),:left, or:center). -
Added
:editablerow property which controls if a user can interact with the row's control (a text input, slider, etc)
-
Fixed size issue with iPhone apps running @2x on an iPad (see
row_type/base.rb#field_buffer) -
Fixed bug in
PickerRowwhere KVOing:valuechanges woulnd't reflect in the picker UI. -
Fixed bug in a
UITextViewpatch that removed copy and paste by default for allUITextViews.
-
Added
form.values = { key: "value" }, which will set all of the form'svalues for each specifiedkeyen-masse. -
:optionsand:pickerrows support a mapping between the displayed value and the row's value. Ex: `row.items = [["User 1", user1_id], ["User 2", user2_id]] -
:staticrows are now able to use:placeholderand:valueattributes to display text along the right-hand side.
- Support a generic
:buttonRowTypewhich can be used in conjunction with aRow'son_tapmethod.
-
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
-
Fixed problems related to KVO-ing
Formableobjects. -
Use
UIKeyboardTypeNumberPadfor iPads;UIKeyboardTypeDecimalPaddoesn't exist for those.
-
Raise
Formotion::NoRowTypeErrorif noRowType(:type) is specified. -
Fix bug for iOS6 where some fields weren't getting their value set.
- Updated to require BubbleWrap 1.1.4 for RM 1.24 compatibility
:display_keyfor a:subformrow; when given, the value for that key in the subform's#renderwill be displayed alongside the chevron:
Formotion::Form.persistand:persist_asto automatically synchronize your form to the disk:
@form = Formotion::Form.persist({
persist_as: :settings,
sections: [....]
})- Fix problems with inheriting Formable models.
:subformRowType. Tapping this row will push a new form with the information given in the row'ssubformproperty.:templateRowType. This type of row allows you to add more "child" rows according to a specification given in the:templatekey.Formotion::Formablemodule for toincludein models. This adds a.to_formmethod and can be used with aFormotion::FormableControllerto automatically create a form synced to a model.
reuseIdentifieris now based on#object_id, so dynamically adding rows at runtime should work.- Every
RowTypenow has an appropriate binding betweenrow.valueand it's display. So if you have aStringRowand change it'srow.valueprogrammatically, the view will update accordingly. rake spec:unitsandrake spec:functionalsfor running tests faster.- renamed
rowHeighttorow_height
- Fixed crash when
form.submitcalled without aon_submitcallback set. - Add more thorough file dependencies
- Add new row type for UIPickerView (:picker)
- Bump required bubble-wrap version to 1.1.2 to fix a
libpath issue.
- Add new row type for images (:image)
- Add new row type for UISegmentedControl (:options)
- Add new row type for UISlider (:slider)
- Add new row type for multiline text (:text)
- Add new row types for dates (:date)
- Big code refactoring
