mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #721] Question on modal form #527
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#527
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marioemmanuel on GitHub (Apr 15, 2022).
Original GitHub issue: https://github.com/rivo/tview/issues/721
I would like to know if it is possible to implement a modal form. Reading the documentation I understand that only a message with two buttons conform the Modal widget. I am not sure if that is the case or I misunderstood the functionalities and I am wondering if it would be possible to display a complete entry modal form.
The use case is to have a Page with a table with values (front-end from a database) and then when user press a key he can enter a new record filling in InputFields, Checkboxes etc in a modal window that appears in front of the table.
If that is possible any sample code would be appreciated.
@rivo commented on GitHub (Apr 15, 2022):
Check out the Wiki: https://github.com/rivo/tview/wiki/Modal
It contains instructions on how to make any other primitive a modal, for example a
Form.