pharo-graphics / Toplo

A widget framework on top of Bloc
MIT License
19 stars 9 forks source link

Setting "max length" on ToTextInput #201

Open tinchodias opened 2 months ago

tinchodias commented 2 months ago

I'm on Spec-Toplo, and the text input presenter exposes the equivalent of RubAbstractTextArea>>#maxLength: on its API. @plantec how do you recommend that I set a max length in this case?

plantec commented 2 months ago

afaik, not possible for now with ToTextField

tinchodias commented 1 week ago

It could work with the same approach as commented in #202 of event handlers that update the text field.