britzl / gooey

Defold GUI system
MIT License
150 stars 22 forks source link

Allowed characters for input boxes #23

Closed Jerakin closed 5 years ago

Jerakin commented 5 years ago

Usage gooey.input("text_field", gui.KEYBOARD_TYPE_DEFAULT, action_id, action, {max_length = 10, allowed_characters="%a"})

Jerakin commented 5 years ago

Currently I am filtering in the refresh function but the filtering is only updating on the next input (probably next key press).