Skip to content

Commit 6ac16a8

Browse files
committed
修改默认intfield的控件为原生控件
1 parent 3e8bce6 commit 6ac16a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fast_tmp/site/field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class TextControl(StrControl):
4444

4545

4646
class IntControl(BaseAdminControl):
47-
_control_type = ControlEnum.number
47+
_control_type = ControlEnum.native_number
4848

4949

5050
class DecimalControl(BaseAdminControl):

0 commit comments

Comments
 (0)