Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Wrong behaviour on error state. #334

Open

Description

Report

What did you do?

ℹ I have added latest version and try to use textfield with validation and have problems with error colors.

What did you expect to happen?

Expect to have error color on title and text.

What happened instead?

Only title was colored with error color, but text has black color. It looks like different symbols, eg. "@" "," "." break some logic with colors.

Снимок экрана 2021-11-18 в 23 54 00

Environment

ℹ Please fill in this section with information about your environment

Xcode Version: 13.1
SkyFloatingLabelTextField Version: 4.0
Deployment Target: iOS 15+
Base SDK:
Method of Integration: CocoaPods

Project that demonstrates the issue

ℹ Please link to a project we can download that reproduces the issue if applicable.

Here is small video that shows wrong behaviour.
https://user-images.githubusercontent.com/14241858/142494756-d89314b8-6d9e-436e-b061-984ac865432d.mov

Here is the code, where I change error message, there is no other code that work with textfield.
Снимок экрана 2021-11-18 в 23 52 24

Activity

  1. ami-aman commented on Dec 29, 2021

    @ami-aman

    Alexey Bolvonovich (@alexeybolv) It shows the same behaviour for me as well but looks like it is an issue with the OS. Check this for a solution which worked for me, if may be it could help you as well.

  2. alexeybolv commented on Dec 31, 2021

    @alexeybolv
    Author

    ami-aman thank you, this workaround works for me! Hope, it will be fixed in next iOS versions.

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