ItsPrompt icon indicating copy to clipboard operation
ItsPrompt copied to clipboard

[FEATURE] Add options to TablePrompt

Open TheItsNameless opened this issue 1 year ago • 0 comments

Feature description Currently, TablePrompt is very basic. Features like marking a cell as immutable are missing.

Additional Information It should be possible to create cells either by inputing a string (which will be the cell content) or a dictionary (may be an object as well) which has the attributes:

  • content
  • immutable
  • type

If only a string is used, it will be assumed as not immutable and the type will be string.

An example:

{"colum 1": [{"content": "this stays as is", "immutable": True}, "type here"]}

TheItsNameless avatar May 28 '23 14:05 TheItsNameless