Multiple line for StaticTextFormItem
saxograph opened this issue · 4 comments
I have StaticTextFormItem which has long, more than 200 characters, value. Is it possible to expand the form item so that the form item can show all value?
Great question
Let me just check what to do
You can use the CustomFormItem
class. Make your own multiline UILabel
cell that implements the CellHeightProvider
protocol.
In the Example project, take a look at the CustomViewController
loading the LoadingCell
.
Good luck, Hiroaki
Do you think multiline support would be a good addition to the StaticTextFormItem
class?
Perfect answer!
I will take a look the CustomFormItem and I believe I can implement what I want to do.
Yes, it would be good StaticTextFormItem supports multiple lines.
I will have to think about how to add multiline support.
Thank you for valuable feedback, Hiroaki.
I will close this issue.