andlabs / andlabs/libui

Proposal: submit for uiForm

Đang mở
#189 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
10.9k
Fork
612
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.