Skip to content

How do I handle multiple MFTextfield which are placed horizontally as well as vertically? #25

Open

Description

@hardikamal

How do I handle such scenario as error label overlaps below textfield?

screenshot 2019-01-24 at 1 18 33 pm

screenshot 2019-01-24 at 1 26 15 pm

Activity

  1. EEO95 commented on Jan 26, 2019

    @EEO95

    Hi,

    Check you're using v0.2 or above. This issue was already mentioned here: #4

  2. hardikamal commented on Jan 30, 2019

    @hardikamal
    Author

    Hi
    I am using v1.0 this issue occurs when there are 2 textfield in same row.

  3. EEO95 commented on Feb 4, 2019

    @EEO95

    @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. ✌️

    animated 2

    captura de pantalla 2019-02-04 a la s 3 05 06 p m
    captura de pantalla 2019-02-04 a la s 3 05 18 p m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions