textarea column type

Shows as multiline edit in edit/insert dialog
This commit is contained in:
Simon Willison 2026-06-13 22:18:45 -07:00
commit 5490c7b794
6 changed files with 29 additions and 8 deletions

View file

@ -942,6 +942,7 @@ async def test_table_insert_action_button_and_data():
"permissions": {
"insert-row": {"id": "root"},
},
"column_types": {"body": "textarea"},
},
},
},
@ -993,6 +994,7 @@ async def test_table_insert_action_button_and_data():
assert created["default"] == "datetime('now')"
assert created["has_default"]
assert body["value_type"] == "string"
assert body["column_type"] == {"type": "textarea", "config": None}
finally:
ds.close()