xmartlabs/XLForm

Slider doesn't work

Closed this issue · 2 comments

hi,

i'm trying to create a slider row but it doesn't work. the row doesn't want to display on the screen.

using this code :

row = XLFormRowDescriptor.init(tag: "test", rowType: "slider", title:"")
row.cellConfig.setValue(UIColor(red: 1, green: 1, blue: 1, alpha: 0.6), forKey: "backgroundColor")
section.addFormRow(row)

every other types work fine

Thanks !

I copied your code to the Examples project and it works fine. A few things to check: Are you adding that section to the form? Do you have another row with that tag?

thanks ! the problem was that i had a second row with the same id