mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #772] Form example outdated? #564
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#564
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 @Thijxx on GitHub (Nov 18, 2022).
Original GitHub issue: https://github.com/rivo/tview/issues/772
https://github.com/rivo/tview/wiki/Form
this seems to be no longer a working example
tview.NewFormhas noAddTextAreawhen I use
AddFormItemit does not accepttview.NewTextArea()as input so not sure how to fix it@rivo commented on GitHub (Nov 18, 2022):
It does:
https://pkg.go.dev/github.com/rivo/tview#Form.AddTextArea
You'll want to upgrade to the latest version.
@Thijxx commented on GitHub (Nov 18, 2022):
Thanks for the quick reply, how does that work without versions in the repo?
I have tried
go install github.com/rivo/tview@latestandgo get -u github.com/rivo/tview@Thijxx commented on GitHub (Nov 18, 2022):
go mod vendorgo get github.com/rivo/tview@latest