MaterialTextField
MaterialTextField copied to clipboard
How do I handle multiple MFTextfield which are placed horizontally as well as vertically?
How do I handle such scenario as error label overlaps below textfield?
Hi,
Check you're using v0.2 or above. This issue was already mentioned here: https://github.com/stephsharp/MaterialTextField/issues/4
Hi I am using v1.0 this issue occurs when there are 2 textfield in same row.
@hardikamal how's your constraints? I did it by just setting a bottom constraint to the TextField below.
Having two text fields in the same row in these devices is not exactly a great decision, since the required layout is more complex (you can achieve this design by embedding them in a StackView, and then embed it in an UIView). Other approaches will make you tear your hair away. Also, a short amount of the entered text will be visible. The user can have a really long name, make a typo and don't see it because of this. The best way to implement a form is in a list-based design, just like Apple shows here https://developer.apple.com/design/human-interface-guidelines/ios/controls/text-fields/.
I hope it helps. Any other question, DM me and feel free to ask. Regards. ✌️