ianharrigan / haxeui

IMPORTANT NOTE! This repository is no longer maintained. Please consider the newer version: https://github.com/haxeui/haxeui-core
http://haxeui.org/
392 stars 46 forks source link

TextInput maxChars / restrictChars not working #348

Open KnightMearh opened 8 years ago

KnightMearh commented 8 years ago

lime 2.9.1 openfl 3.6.1 actuate 1.8.6 hscript 2.0.5 haxeui 1.8.17

placeholderText and maxChars don't seem to be functional.

var input:TextInput = new TextInput();
input.placeholderText = "01";
input.maxChars = 2;
input.restrictChars = "0-9";

Text field input allows any input.