ErAbhishekChandani / ACFloatingTextfield

It is a subclass of UITextfield to Provide the floating label and customisations.
MIT License
125 stars 40 forks source link

as it mentioned that now ACFloating Textfield can show the error at bottom but its not working #58

Closed iosDevJd closed 5 years ago

iosDevJd commented 6 years ago

how can i show the error message at bottom of the line

ErAbhishekChandani commented 6 years ago

you can not show the error at bottom currently however you can integrate your own logic to show error at bottom of field Thanks

On Fri, 6 Apr 2018 at 4:22 PM, iosDevJd notifications@github.com wrote:

how can i show the error message at bottom of the line

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ErAbhishekChandani/ACFloatingTextfield/issues/58, or mute the thread https://github.com/notifications/unsubscribe-auth/ANMZ1634lPk6pFwLzpkjW255S8iDXtdzks5tl0j6gaJpZM4TJ3V3 .

-- Thanks & Regards Er. Abhishek Chandani

abrarqureshi commented 6 years ago

if you are using ACFloatingTextfield.so u can also change bottom line colour i.e in ACFloatingTextfield

=>/// Change Bottom Line Color. @IBInspectable open var lineColor : UIColor = UIColor.white

/// Change Error Text color. @IBInspectable open var errorTextColor : UIColor = UIColor.red

 /// Change Error Line color.
 @IBInspectable open var errorLineColor : UIColor = UIColor.red
ErAbhishekChandani commented 5 years ago

Error is shown on top but you can change the color of line in case of error by errorLineColor