changie icon indicating copy to clipboard operation
changie copied to clipboard

Swap to huh for prompts

Open miniscruff opened this issue 1 year ago • 3 comments

Closes #NNN

Check the following

  • [ ] Maintain high code coverage
  • [ ] Be properly formatted
  • [ ] Documentation changes are included
  • [ ] Include a change file if expected

Additional context Any additional info that might help get your pull request merged.

miniscruff avatar Jul 13 '24 19:07 miniscruff

If you add a Height to the NewSelect and NewMultiSelect that should take care of everything. Looking forward to this change!

huh.NewMultiSelect[string]().
	Title("Projects").
	Options(projectOptions...).
	Value(&p.Projects).
	Height(10),

Magic-Mayo avatar Aug 21 '24 14:08 Magic-Mayo

If you add a Height to the NewSelect and NewMultiSelect that should take care of everything. Looking forward to this change!

huh.NewMultiSelect[string]().
	Title("Projects").
	Options(projectOptions...).
	Value(&p.Projects).
	Height(10),

I am waiting on huh to support hide funcs so I can conditionally hide the optional prompts in one form.

miniscruff avatar Aug 21 '24 16:08 miniscruff

This is still on hold until huh is updated, no eta or anything.

miniscruff avatar Dec 01 '24 23:12 miniscruff