[GH-ISSUE #350] Autocomplete on Form InputFields #260

Closed
opened 2026-03-04 01:03:25 +03:00 by kerem · 1 comment
Owner

Originally created by @IdlePhysicist on GitHub (Sep 28, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/350

I see that Autocomplete functionality has been added to the InputField class (#299). But would be possible to add it to the Form class too?

Or is it already possible to use in the Form class?

Originally created by @IdlePhysicist on GitHub (Sep 28, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/350 I see that Autocomplete functionality has been added to the InputField class (#299). But would be possible to add it to the Form class too? Or is it already possible to use in the Form class?
kerem closed this issue 2026-03-04 01:03:26 +03:00
Author
Owner

@rivo commented on GitHub (Oct 18, 2019):

Yes, it is. You can add your own InputField object to a Form using Form.AddFormItem(). (InputField implements the FormItem interface.)

<!-- gh-comment-id:543704763 --> @rivo commented on GitHub (Oct 18, 2019): Yes, it is. You can add your own `InputField` object to a `Form` using [`Form.AddFormItem()`](https://godoc.org/github.com/rivo/tview#Form.AddFormItem). (`InputField` implements the `FormItem` interface.)
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#260
No description provided.