ConsoleAppVisuals icon indicating copy to clipboard operation
ConsoleAppVisuals copied to clipboard

Prompt for table elements

Open alex-crr opened this issue 1 year ago • 3 comments

Describe the solution you'd like

Have a table view in which you could fill multiple elements at the same time, without having to use multiple prompts.

Additional context

An example use case would be having a prompt that will generate a list of values to insert into an sql table

alex-crr avatar May 02 '24 11:05 alex-crr

Hey @alex-crr, thanks for the idea!

Could you provide more detail on the feature you're talking about? Is it more related to the TableView Element, TableSelector or Prompt, I do not completely get the point.

Feel free to add screenshots, inspirations or more

MorganKryze avatar May 04 '24 21:05 MorganKryze

Let's take a concrete example. I have a console app that allows me to interface with an sql database. . the TableView elements allow me to visualize entries: image The TableSelector allows me to chose one of my rows. image However there is no element that would allow me to fill such table. My current workaround is to just loop around with a simple prompt

image

The suggestion I'm making is to provide a prompting element (one that will retrieve data from the user) tailored for multiple field inputs, thus allowing one to fill it's tableviews with only one prompt.

alex-crr avatar May 05 '24 10:05 alex-crr

I get your point, this could indeed be a great improvement, though I may work on a form-like element before that.

Stay tuned for the updates!

MorganKryze avatar May 05 '24 13:05 MorganKryze