Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/tdSearchBar_fix 新增只读属性与点击事件 #393

Merged
merged 3 commits into from
Dec 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
修复stepper文字未居中
  • Loading branch information
q920447939 committed Oct 14, 2024
commit a68421375b971730bfb8b672130c7e1885393a37
7 changes: 5 additions & 2 deletions tdesign-component/lib/src/components/stepper/td_stepper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,11 @@ class _TDStepperState extends State<TDStepper> {
textAlign: TextAlign.center,
textAlignVertical: TextAlignVertical.center,
keyboardType: TextInputType.number,
decoration:
const InputDecoration(border: InputBorder.none),
decoration: InputDecoration(
border: InputBorder.none,
isDense: true,
contentPadding: EdgeInsets.zero,
),
inputFormatters: [
FilteringTextInputFormatter.digitsOnly,
TextInputFormatter.withFunction((oldValue, newValue) {
Expand Down