andlabs / andlabs/libui

Proposal: submit for uiForm

Aperta
#189 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
10.9k
Fork
612
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Right now pressing the Enter key when typing in a `uiForm` does nothing. It should submit the form.

One solution would be to add a `uiFormOnSubmitted` function that calls the callback when Enter is pressed in the form's `uiEntry` childs. A `uiFormSubmit` function can be added to submit the form when clicking a button.

Thoughts?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.