Former
Former copied to clipboard
InlinePickerRowFormer resets "selectedRow" back to index 0
Hi,
Line 79 of this file
Former/Former/RowFormers/InlinePickerRowFormer.swift
causes not being able to set selectedRow to different index:
}.configure{ $0.pickerItems = SOME_COLLECTION_WITH_100_ITEMS $0.selectedRow = 2 //<--- This is always overwritten by line 79 back to 0 }
Thanks
We can have a
selectedRow = 0
only when selectedRow >= pickerItems.count
IMO that would be a better approach for the fix that you have employed for index out of range
I will look into this and get back to you shortly
any news on this? same issue here. and thanks a lot for this nice piece of software!
@benwalch Do you found a way to fix it?