ItsPrompt
ItsPrompt copied to clipboard
[FEATURE] Add options to TablePrompt
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"]}