7 Commits
Author SHA1 Message Date
Bram b0451c7aad bug: Fix grid scrolling blocked when hover scrollable cells (#5784) 2026-07-29 13:23:56 +02:00
Davide Silvestri ecdda10a8f feat: add configurable max length for text-based field values (#5689)
* feat: add configurable max length for text-based field values

Add BASEROW_MAX_FIELD_TEXT_LENGTH (default 500000), enforced at the serializer and in the frontend for single line text, long text, URL and AI fields. Existing longer values remain readable; only new writes over the limit are rejected.

Implements #5688

* fix: address review feedback for max text length

- Fix rich text editor modal crashing on expand: guard
  FieldRichTextModal.serializeToMarkdown() while the editor is
  unmounted during the open transition.
- Surface the max-length error inside the expanded modal (Alert
  banner) and block closing while the value is over the limit.
- Fall back to the default limit in the frontend when the runtime
  config is missing or non-numeric instead of silently disabling it.
- Improve the error message to show how many characters are over the
  limit (Max N chars (-x)).
- Avoid a settings crash when BASEROW_MAX_FIELD_TEXT_LENGTH is set to
  an empty string.
- Add frontend tests for the rich text modal and the validation.
2026-07-09 15:45:21 +02:00
Davide Silvestri 9c4bedf17e Resolve "Allow editing of an AI prompt field cell value" 2025-05-14 16:34:18 +02:00
Bram Wiepjes d01dccd0e1 [2/2] AI improvements: AI field choice output type 2024-11-12 16:29:42 +00:00
Davide Silvestri 702ff21135 Text type formulas use GridViewFieldLongText to show text 2022-05-26 11:49:13 +00:00
Jrmi 867304c0fa Resolve "keyCode property of key events is deprecated and shouldn't be used" 2022-05-11 13:36:21 +00:00
Bram Wiepjes 4a47f21551 Resolve "User reports that a table is slow having 21 columns" 2021-03-09 20:53:39 +00:00