File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
client/packages/lowcoder/src/comps/comps/numberInputComp Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff 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 = { typeof props . 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
You can’t perform that action at this time.
0 commit comments