From 378c98982586cb80a1a246b68bbcfd09273faf30 Mon Sep 17 00:00:00 2001 From: Alexandru Mariuti Date: Wed, 11 Dec 2024 15:12:12 +0100 Subject: [PATCH] fix: show cursor default value (#211) --- CHANGELOG.md | 4 ++++ lib/src/components/form/fields/input.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3acd8e4e..0d648df0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.16.3 + +- **FIX**: `showCursor` default value in `ShadInputFormField` + ## 0.16.2 - **FIX**: `ShadTabs` and `ShadResizable` lerp diff --git a/lib/src/components/form/fields/input.dart b/lib/src/components/form/fields/input.dart index 8292321c..7d313702 100644 --- a/lib/src/components/form/fields/input.dart +++ b/lib/src/components/form/fields/input.dart @@ -47,7 +47,7 @@ class ShadInputFormField extends ShadFormBuilderField { int? minLines, bool expands = false, super.readOnly, - bool? showCursor = false, + bool? showCursor, int? maxLength, MaxLengthEnforcement? maxLengthEnforcement, VoidCallback? onEditingComplete, diff --git a/pubspec.yaml b/pubspec.yaml index 872b6b0c..b1beff0c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: shadcn_ui description: shadcn-ui ported in Flutter. Awesome UI components for Flutter, fully customizable. -version: 0.16.2 +version: 0.16.3 homepage: https://flutter-shadcn-ui.mariuti.com repository: https://github.com/nank1ro/flutter-shadcn-ui documentation: https://flutter-shadcn-ui.mariuti.com