+2 votes

Hi everyone.

Is there's any way to add in-place validation to LineEdit in Godot 2.1? For example, check e-mail corectness.

I tried to override _input(event) and _input_event(event), but symbols still appear in LineEdit. I also tried to delete last input symbol if text do not satisfy RegEx, but dislike this solution.

May be I miss something, and it can be achieved in another way than I tried? Thnx for any advice.

I used Godot 2.1.5rc1

in Engine by (14 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.