Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit724514a

Browse files
committed
[Feat]: Add tabindex to the number input field
1 parent721a5a8 commit724514a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎client/packages/lowcoder/src/comps/comps/numberInputComp/numberInputComp.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ const childrenMap = {
272272
min:UndefinedNumberControl,
273273
max:UndefinedNumberControl,
274274
customRule:CustomRuleControl,
275+
tabIndex:NumberControl,
275276

276277
...formDataChildren,
277278
};
@@ -330,6 +331,7 @@ const CustomInputNumber = (props: RecordConstructorToView<typeof childrenMap>) =
330331
precision={props.precision}
331332
$style={props.inputFieldStyle}
332333
prefix={hasIcon(props.prefixIcon) ?props.prefixIcon :props.prefixText.value}
334+
tabIndex={typeofprops.tabIndex==='number' ?props.tabIndex :undefined}
333335
onPressEnter={()=>{
334336
handleFinish();
335337
props.onEvent("submit");
@@ -436,6 +438,7 @@ let NumberInputTmpComp = (function () {
436438
})}
437439
{children.controls.propertyView({label:trans("numberInput.controls")})}
438440
{readOnlyPropertyView(children)}
441+
{children.tabIndex.propertyView({label:trans("prop.tabIndex")})}
439442
</Section>
440443
)}
441444

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp