Missing modifier for `textContentType` is not working
swiatrzyk opened this issue · comments
Here's the missing code to be added into custom text fields classes (FormatTextField
, FormatSumTextField
, FormatStartTextField
):
add property
private var textContentType: UITextContentType?
within updateUIView
method add:
uiView.textContentType = textContentType
and add modifier method
// textContentType
public func textContentType(_ type: UITextContentType) -> Self {
var view = self
view.textContentType = type
return view
}