This repository was archived by the owner on Mar 7, 2021. It is now read-only.
Releases: 3lvis/Form
Releases · 3lvis/Form
Form — 2.1.5
- Improved behavior when removing dynamic sections (PR #270)
The process of removing the section will update the
positionof the sections from the same group in a way that the consistency is kept.
- Improved behavior of
removedValuesandvalues
It works better when removing dynamic values.
Form — 2.1.4
- Fixed crash when initializing Form with initial values that had some values missing (related to PR #269)
2.1.3
Form — 2.1.2
- Fix dynamic values not present in form values
Form 2.1.1
- Form will reset field positions when hiding and showing them
Form — 2.1
FORMDataSource
- Store removed values (only dynamic ones at the moment) into a dictionary.
- (NSDictionary *)values;
- (NSDictionary *)removedValues;Notes
valuesDictionaryis deprecated, use the newvaluesmethod instead
- (NSDictionary *)valuesDictionary __attribute__((deprecated("Use values instead")));Form — 2.0.1
Initializing a JSON now supports NSArray and NSDictionary. Useful when creating dynamic fields with templates
Before
- (instancetype)initWithJSON:(NSArray *)JSON
collectionView:(UICollectionView *)collectionView
layout:(FORMLayout *)layout
values:(NSDictionary *)values
disabled:(BOOL)disabled;Now
- (instancetype)initWithJSON:(id)JSON
collectionView:(UICollectionView *)collectionView
layout:(FORMLayout *)layout
values:(NSDictionary *)values
disabled:(BOOL)disabled;Form — 2.0
— FORMField's fieldValue now is referenced as value — [Breaking change]
— Parsing FORMField's now support sending more parameters (minimum_date, maximum_date and value). This is useful when preprocessing the JSON to modify it's content before sending it to FORMDataSource
Form — 1.0.1
- Specified dependency versions
- Fixed disabled border style not appearing
- Updated default style with a font available on iOS (Avenir Next)
- Added validations with compare rule (by the awesome @callumboddy)
Example:
"validations":{
"compare_to":"start_date",
"compare_rule":">",
}Initial release
- This is a initial release, over this point releases will use http://semver.org/