andlabs / andlabs/libui

Proposal: submit for uiForm

Abierto
#189 8 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C
Estrellas
10.9k
Forks
612
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.