Skip to content

Commit

Permalink
Merge pull request #13 from liyongfen/fix/inputNumber-bg
Browse files Browse the repository at this point in the history
fix: 修复InputNumber组件校验出错时出现红色背景,#11
  • Loading branch information
zFitness authored Aug 11, 2022
2 parents f2abd54 + feb52d3 commit 4fa7e16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@
},
"dependencies": {
"@formily/core": "^2.0.13",
"@formily/grid": "^2.1.12",
"@formily/react": "^2.0.13",
"@formily/reactive": "^2.0.13",
"@formily/shared": "^2.0.13",
"mfetch": "^0.2.27",
"moment": "^2.29.4",
"react-sortable-hoc": "^2.0.0",
"react-sticky-box": "^0.9.3",
"tdesign-icons-react": "^0.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/__styles__/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@error-color: var(--td-error-color);
@error-box-shadow: 0 0 0 2px var(--td-error-color-focus);
@border-color-base: var(--td-component-border);
@form-error-input-bg: red;
@form-error-input-bg: #fff;
@warning-color: var(--td-warning-color);
@warning-box-shadow: 0 0 0 2px var(--td-warning-color-focus);
@success-color: var(--td-success-color);
Expand Down

0 comments on commit 4fa7e16

Please sign in to comment.