davdroman / Bohr

Settings screen composing framework
MIT License
1.26k stars 83 forks source link

Text field input error block #9

Closed AlexEdunov closed 9 years ago

AlexEdunov commented 9 years ago

Hello! Could you please explain how to use text field input error block. Which event should perform it?

davdroman commented 9 years ago

Sure!

The error block is called every time the user tries to input text of a length not equal or longer than the minimum specified by minimumTextLength. You can of course set minimumTextLength to 0 if you don't care about it.