Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Editor (TextBox) validation

$
0
0

Hi guys!

I am writing an application for Android and iOS using Xamarin Forms and I need to a way to validate input of Editors.
I have googled this question and seems there is no built-in way to do that.

So, as I understood, I should perform the following steps to achieve some useful behavior:
1) Create my own Editor - ValidatedEditor
2) Create renderers for each platform to have possibility to change color of Editor Border (or other visual effects).
3) Add some validation logic to my ValidationEditor and react on this login in my custom Renderers.

Please let me know if there is an easier way to do that.

Thanks for you help!


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>