Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix:The placeholder text for URL cells shouldn't be underlined (#3565)

Ahsan Ahmad3ab1ff5e7340
diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/url_cell/url_cell.dart b/frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/url_cell/url_cell.dart
index 1dc1eb888e..aa1acdf222 100644
--- a/frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/url_cell/url_cell.dart
+++ b/frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/url_cell/url_cell.dart
@@ -158,7 +158,9 @@ class _GridURLCellState extends GridEditableTextCell<GridURLCell> {
Theme.of(context).textTheme.bodyMedium)
?.copyWith(
color: Theme.of(context).colorScheme.primary,
- decoration: TextDecoration.underline,
+ decoration: _controller.text.isNotEmpty
+ ? TextDecoration.underline
+ : TextDecoration.none,
),
autofocus: false,
decoration: InputDecoration(