@@ -1094,55 +1094,46 @@ export class Input
1094
1094
: ( literal `textarea` as unknown as "textarea" ) ;
1095
1095
1096
1096
const childEl =
1097
- this . type !== "number"
1098
- ? [
1099
- < DynamicHtmlTag
1100
- accept = { this . accept }
1101
- aria-errormessage = { IDS . validationMessage }
1102
- ariaInvalid = { this . status === "invalid" }
1103
- ariaLabel = { getLabelText ( this ) }
1104
- autocomplete = { this . autocomplete as LuminaJsx . HTMLElementTags [ "input" ] [ "autocomplete" ] }
1105
- autofocus = { autofocus }
1106
- class = { {
1107
- [ CSS . editingEnabled ] : this . editingEnabled ,
1108
- [ CSS . inlineChild ] : ! ! this . inlineEditableEl ,
1109
- } }
1110
- defaultValue = { this . defaultValue }
1111
- disabled = { this . disabled ? true : null }
1112
- enterKeyHint = { enterKeyHint as LuminaJsx . HTMLElementTags [ "input" ] [ "enterKeyHint" ] }
1113
- inputMode = { inputMode as LuminaJsx . HTMLElementTags [ "input" ] [ "inputMode" ] }
1114
- max = { this . maxString }
1115
- maxLength = { this . maxLength }
1116
- min = { this . minString }
1117
- minLength = { this . minLength }
1118
- multiple = { this . multiple }
1119
- name = { this . name }
1120
- onBlur = { this . inputBlurHandler }
1121
- onChange = { this . inputChangeHandler }
1122
- onFocus = { this . inputFocusHandler }
1123
- onInput = { this . inputInputHandler }
1124
- onKeyDown = { this . inputKeyDownHandler }
1125
- onKeyUp = { this . inputKeyUpHandler }
1126
- pattern = { this . pattern }
1127
- placeholder = { this . placeholder || "" }
1128
- readOnly = { this . readOnly }
1129
- ref = { this . setChildElRef }
1130
- required = { this . required ? true : null }
1131
- spellcheck = { this . el . spellcheck }
1132
- step = { this . step }
1133
- tabIndex = {
1134
- this . disabled || ( this . inlineEditableEl && ! this . editingEnabled ) ? - 1 : null
1135
- }
1136
- type = { this . type }
1137
- value = { this . value }
1138
- /> ,
1139
- this . isTextarea ? (
1140
- < div class = { CSS . resizeIconWrapper } >
1141
- < calcite-icon icon = "chevron-down" scale = { getIconScale ( this . scale ) } />
1142
- </ div >
1143
- ) : null ,
1144
- ]
1145
- : null ;
1097
+ this . type !== "number" ? (
1098
+ < DynamicHtmlTag
1099
+ accept = { this . accept }
1100
+ aria-errormessage = { IDS . validationMessage }
1101
+ ariaInvalid = { this . status === "invalid" }
1102
+ ariaLabel = { getLabelText ( this ) }
1103
+ autocomplete = { this . autocomplete as LuminaJsx . HTMLElementTags [ "input" ] [ "autocomplete" ] }
1104
+ autofocus = { autofocus }
1105
+ class = { {
1106
+ [ CSS . editingEnabled ] : this . editingEnabled ,
1107
+ [ CSS . inlineChild ] : ! ! this . inlineEditableEl ,
1108
+ } }
1109
+ defaultValue = { this . defaultValue }
1110
+ disabled = { this . disabled ? true : null }
1111
+ enterKeyHint = { enterKeyHint as LuminaJsx . HTMLElementTags [ "input" ] [ "enterKeyHint" ] }
1112
+ inputMode = { inputMode as LuminaJsx . HTMLElementTags [ "input" ] [ "inputMode" ] }
1113
+ max = { this . maxString }
1114
+ maxLength = { this . maxLength }
1115
+ min = { this . minString }
1116
+ minLength = { this . minLength }
1117
+ multiple = { this . multiple }
1118
+ name = { this . name }
1119
+ onBlur = { this . inputBlurHandler }
1120
+ onChange = { this . inputChangeHandler }
1121
+ onFocus = { this . inputFocusHandler }
1122
+ onInput = { this . inputInputHandler }
1123
+ onKeyDown = { this . inputKeyDownHandler }
1124
+ onKeyUp = { this . inputKeyUpHandler }
1125
+ pattern = { this . pattern }
1126
+ placeholder = { this . placeholder || "" }
1127
+ readOnly = { this . readOnly }
1128
+ ref = { this . setChildElRef }
1129
+ required = { this . required ? true : null }
1130
+ spellcheck = { this . el . spellcheck }
1131
+ step = { this . step }
1132
+ tabIndex = { this . disabled || ( this . inlineEditableEl && ! this . editingEnabled ) ? - 1 : null }
1133
+ type = { this . type }
1134
+ value = { this . value }
1135
+ />
1136
+ ) : null ;
1146
1137
1147
1138
return (
1148
1139
< InteractiveContainer disabled = { this . disabled } >
0 commit comments