xmartlabs / XLForm

XLForm is the most flexible and powerful iOS library to create dynamic table-view forms. Fully compatible with Swift & Obj-C.
MIT License
5.77k stars 953 forks source link

Add formDatePickerStyle property to XLFormDateCell #1078

Closed nickreffitt closed 3 years ago

nickreffitt commented 3 years ago

This PR adds support for changing the datePicker's preferredDatePickerStyle property, and issue raised in #1074

This can be used like so:

row = [XLFormRowDescriptor formRowDescriptorWithTag:kRowDescriptorTagReminderTime
                                            rowType:XLFormRowDescriptorTypeTimeInline
                                              title:@"Remind me at"];
row.cellConfigAtConfigure[@"formDatePickerStyle"] = @(XLFormDateDatePickerStyleWheels);
mattbold commented 3 years ago

Hi @mats-claassen @nickreffitt do you know if a release including this DatePickerStyle functionality is due to be available via cocoapods? I'm keen to make use of it if possible!

pnkjdubey0 commented 2 years ago

This fix isn't working anymore. formDatePickerStyle attribute doesn't seem to have any impact anymore. Screenshot 2022-01-27 at 12 35 33 AM .