[GH-ISSUE #639] Initialize form data #468

Closed
opened 2026-03-04 01:05:16 +03:00 by kerem · 0 comments
Owner

Originally created by @lu569368 on GitHub (Sep 2, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/639

As a novice in TVIEW

AddInputField("年", “2012”, 20, nil, func(text string) {

}).

When I modify the data in the form without submitting it, I can directly use pages. Switchtopage ("") to jump to other pages. When I return again, how can I use my initialization data instead of the last modified data? Thank you

当我修改表单里面的数据以后没有提交,直接使用Pages.SwitchToPage("")跳转到其他的页面,我再次返回时,如何使用我的初始化数据而不是上一次修改过的数据,感谢

Originally created by @lu569368 on GitHub (Sep 2, 2021). Original GitHub issue: https://github.com/rivo/tview/issues/639 As a novice in TVIEW ``` AddInputField("年", “2012”, 20, nil, func(text string) { }). ``` When I modify the data in the form without submitting it, I can directly use pages. Switchtopage ("") to jump to other pages. When I return again, how can I use my initialization data instead of the last modified data? Thank you 当我修改表单里面的数据以后没有提交,直接使用Pages.SwitchToPage("")跳转到其他的页面,我再次返回时,如何使用我的初始化数据而不是上一次修改过的数据,感谢
kerem closed this issue 2026-03-04 01:05:16 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#468
No description provided.