You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/uui-input/lib/uui-input.element.ts
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -184,8 +184,13 @@ export class UUIInputElement extends UUIFormControlMixin(
184
184
* @attr
185
185
* @default text
186
186
*/
187
-
@property({attribute: 'type'})
188
-
type: InputType='text';
187
+
@property({type: String})
188
+
gettype(): InputType{
189
+
returnthis._type;
190
+
}
191
+
settype(value: InputType){
192
+
this._type=value;
193
+
}
189
194
190
195
/**
191
196
* The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.
@@ -208,6 +213,8 @@ export class UUIInputElement extends UUIFormControlMixin(
0 commit comments