andlabs / andlabs/ui

Access to higher-fidelity events for TextField

Ouverte
#43 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
8.4k
Forks
639
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

At the moment, `TextField` only supports the `OnChanged` event callback, which triggers every time the user makes an edit to the field (often just a single character change). It is hard to build useful features on top of this, because you do not know if the user pressed a key, pasted, released a key, erased a character, etc. Furthermore, you cannot detect actions such as the user pressing the enter key in the field, because this does not change the contents of the text field. Having a finer-grained set of events for `TextField` (`keyUp` and `keyDown` come to mind) would be extremely useful, and would enable much richer interactions with input fields.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.