[GH-ISSUE #834] Add functionality where AutoCompleteMenu can fill the whole input text field #609

Open
opened 2026-03-04 01:06:25 +03:00 by kerem · 3 comments
Owner

Originally created by @akurdunkar on GitHub (Apr 6, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/834

Right Now. The AutoCompleteMenu only has its width equal to the word with the biggest length in the autocompleteList. I have a use case where I need the width to be the same as the input text field. Having a boolean value or any option to enable this would be great.

  • Current Behaviour
    Apr07Fri032810AM
  • Expected Behaviour
    Apr07Fri033330AM
Originally created by @akurdunkar on GitHub (Apr 6, 2023). Original GitHub issue: https://github.com/rivo/tview/issues/834 Right Now. The AutoCompleteMenu only has its width equal to the word with the biggest length in the `autocompleteList`. I have a use case where I need the width to be the same as the input text field. Having a boolean value or any option to enable this would be great. - Current Behaviour ![Apr07Fri032810AM](https://user-images.githubusercontent.com/51816057/230502033-3ce0e778-c96f-49fc-bd0c-83456885c7a0.png) - Expected Behaviour ![Apr07Fri033330AM](https://user-images.githubusercontent.com/51816057/230502248-0459e655-bcf6-4770-8753-4fdc4b36860e.png)
Author
Owner

@akurdunkar commented on GitHub (Apr 11, 2023):

Any updates on this?

<!-- gh-comment-id:1502587244 --> @akurdunkar commented on GitHub (Apr 11, 2023): Any updates on this?
Author
Owner

@rivo commented on GitHub (Jun 18, 2023):

Can you explain why this is needed? Is this purely an aesthetic requirement? Or does its absence cause any problems to your users?

<!-- gh-comment-id:1596112595 --> @rivo commented on GitHub (Jun 18, 2023): Can you explain why this is needed? Is this purely an aesthetic requirement? Or does its absence cause any problems to your users?
Author
Owner

@akurdunkar commented on GitHub (Jun 22, 2023):

This is purey for aesthetic reasons.

<!-- gh-comment-id:1602051629 --> @akurdunkar commented on GitHub (Jun 22, 2023): This is purey for aesthetic reasons.
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#609
No description provided.