mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #237] a way to add inputfield at desired position #181
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#181
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 @shishirsriv on GitHub (Feb 17, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/237
Thanks for the awesome library, i really liked tview.
Here is my use case:
I have multiple checkbox and inputfields on a form. i am looking at a way where i can show a few inputfields only if a checkbox is checked. i understand there is no hide/show and hence creating an inputfield at runtime and adding to the form is fine, but that always adds at the end of the form.
@dguendisch commented on GitHub (Feb 17, 2019):
You could use a Grid Layout in this case. Its
AddItemmethod allows you to place primitives at a fixed position in the layout rather than appending them.@rivo commented on GitHub (Mar 8, 2019):
@shishirsriv, please have a look at #192 and let me know if this would be a solution to your problem. It's not available yet but I'm planning to introduce something like that.
@rivo commented on GitHub (Apr 5, 2019):
Will reopen when there's new information.