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
* The autofocus content attribute allows the author to indicate that a control is to be focused as soon as the page is loaded, allowing the user to just start typing without having to manually focus the main control.
31
31
*/
32
-
@Prop({reflect: true})autofocus: boolean;
32
+
@Prop({reflect: true})autofocus=false;
33
33
34
34
/**
35
35
* The description attribute specifies the description/hint of the input.
36
36
*/
37
-
@Prop({reflect: true})description: string;
37
+
@Prop({reflect: true})description?: string;
38
38
39
39
/**
40
40
* The dirname attribute on a form control element enables the submission of the directionality of the element, and gives the name of the control that contains this value during form submission. If such an attribute is specified, its value must not be the empty string.
41
41
*/
42
-
@Prop({reflect: true})dirname: string;
42
+
@Prop({reflect: true})dirname?: string;
43
43
44
44
/**
45
45
* The disabled attribute can be set to keep a user from clicking on the input.
46
46
*/
47
-
@Prop({reflect: true})disabled: boolean;
47
+
@Prop({reflect: true})disabled=false;
48
48
49
49
/**
50
50
* The input_id of a labelable form-related element in the same document as the label element. The first element in the document with an id matching the value of the for attribute is the labeled control for this label element, if it is a labelable element.
* The label attribute specifies the caption of the input.
@@ -59,77 +59,77 @@ export class DbInput {
59
59
/**
60
60
* The list attribute is used to identify an element that lists predefined options suggested to the user.
61
61
*/
62
-
@Prop({reflect: true})list: string;
62
+
@Prop({reflect: true})list?: string;
63
63
64
64
/**
65
65
/* The maxlength attribute, controlled by a dirty value flag, declares a limit on the number of characters a user can input.
66
66
*/
67
-
@Prop({reflect: true})maxlength: number;
67
+
@Prop({reflect: true})maxlength?: number;
68
68
69
69
/**
70
70
/* The minlength attribute, when it applies, is a form control minlength attribute.
71
71
*/
72
-
@Prop({reflect: true})minlength: number;
72
+
@Prop({reflect: true})minlength?: number;
73
73
74
74
/**
75
75
* The name content attribute gives the name of the form control, as used in form submission and in the form element's elements object. If the attribute is specified, its value must not be the empty string.
76
76
*/
77
-
@Prop({reflect: true})name!: string;
77
+
@Prop({reflect: true})name?: string;
78
78
79
79
/**
80
80
* The pattern attribute specifies a regular expression against which the control's value is to be checked.
81
81
*/
82
-
@Prop({reflect: true})pattern: string;
82
+
@Prop({reflect: true})pattern?: string;
83
83
84
84
/**
85
85
* The step attribute specifies the granularity that the value must obey to on increasing or decreasing by the users selection.
86
86
*/
87
-
@Prop({reflect: true})step: number;
87
+
@Prop({reflect: true})step?: number;
88
88
89
89
/**
90
90
* The min attribute specifies the minimum value that is sufficient for this input.
91
91
*/
92
-
@Prop({reflect: true})min: number;
92
+
@Prop({reflect: true})min?: number;
93
93
94
94
/**
95
95
* The max attribute specifies the maximum value that is sufficient for this input.
96
96
*/
97
-
@Prop({reflect: true})max: number;
97
+
@Prop({reflect: true})max?: number;
98
98
99
99
/**
100
100
* The placeholder attribute represents a short hint (a word or short phrase) intended to aid the user with data entry.
101
101
*/
102
-
@Prop({reflect: true})placeholder: string;
102
+
@Prop({reflect: true})placeholder?: string;
103
103
104
104
/**
105
105
* The readonly attribute controls whether or not the user can edit the form control.
106
106
*/
107
-
@Prop({reflect: true})readonly: boolean;
107
+
@Prop({reflect: true})readonly?: boolean;
108
108
109
109
/**
110
110
* The required attribute is a boolean attribute. When specified, the element is required.
111
111
*/
112
-
@Prop({reflect: true})required: boolean;
112
+
@Prop({reflect: true})required?: boolean;
113
113
114
114
/**
115
115
* The size attribute gives the number of characters that, in a visual rendering, the user agent is to allow the user to see while editing the element's value.
116
116
*/
117
-
@Prop({reflect: true})size: number;
117
+
@Prop({reflect: true})size?: number;
118
118
119
119
/**
120
120
* The type attribute changes the input type to text, number etc.
121
121
*/
122
-
@Prop({reflect: true})type='text';
122
+
@Prop({reflect: true})type?: string='text';
123
123
124
124
/**
125
125
* The value content attribute gives the default value of the input element.
126
126
*/
127
-
@Prop({reflect: true})value: string;
127
+
@Prop({reflect: true})value?: string;
128
128
129
129
/**
130
130
* The variant attribute specifies a visual expression of a select.
|`ariainvalid`|`ariainvalid`| The ariainvalid attribute is used to indicate that the value entered into an input field does not conform to the format expected by the application. |`"false" \| "grammar" \| "spelling" \| "true"`|`undefined`|
13
-
|`ariarequired`|`ariarequired`| The ariarequired attribute can be applied to a form element, to indicate to an AT that it is required to complete the form. |`"false" \| "true"`|`undefined`|
14
-
|`autocomplete`|`autocomplete`| User agents sometimes have features for helping users fill forms in, for example prefilling the user's address based on earlier user input. |`"off" \| "on"`|`undefined`|
15
-
|`autofocus`|`autofocus`| The autofocus content attribute allows the author to indicate that a control is to be focused as soon as the page is loaded, allowing the user to just start typing without having to manually focus the main control. |`boolean`|`undefined`|
12
+
|`ariainvalid`|`ariainvalid`| The ariainvalid attribute is used to indicate that the value entered into an input field does not conform to the format expected by the application. |`"false" \| "grammar" \| "spelling" \| "true"`|`null`|
13
+
|`ariarequired`|`ariarequired`| The ariarequired attribute can be applied to a form element, to indicate to an AT that it is required to complete the form. |`"false" \| "true"`|`null`|
14
+
|`autocomplete`|`autocomplete`| User agents sometimes have features for helping users fill forms in, for example prefilling the user's address based on earlier user input. |`"off" \| "on"`|`null`|
15
+
|`autofocus`|`autofocus`| The autofocus content attribute allows the author to indicate that a control is to be focused as soon as the page is loaded, allowing the user to just start typing without having to manually focus the main control. |`boolean`|`false`|
16
16
|`description`|`description`| The description attribute specifies the description/hint of the input. |`string`|`undefined`|
17
17
|`dirname`|`dirname`| The dirname attribute on a form control element enables the submission of the directionality of the element, and gives the name of the control that contains this value during form submission. If such an attribute is specified, its value must not be the empty string. |`string`|`undefined`|
18
-
|`disabled`|`disabled`| The disabled attribute can be set to keep a user from clicking on the input. |`boolean`|`undefined`|
18
+
|`disabled`|`disabled`| The disabled attribute can be set to keep a user from clicking on the input. |`boolean`|`false`|
19
19
|`input_id`|`input_id`| The input_id of a labelable form-related element in the same document as the label element. The first element in the document with an id matching the value of the for attribute is the labeled control for this label element, if it is a labelable element. |`string`|`'input-' + uuid()`|
20
20
|`label`_(required)_|`label`| The label attribute specifies the caption of the input. |`string`|`undefined`|
21
21
|`list`|`list`| The list attribute is used to identify an element that lists predefined options suggested to the user. |`string`|`undefined`|
22
22
|`max`|`max`| The max attribute specifies the maximum value that is sufficient for this input. |`number`|`undefined`|
23
23
|`maxlength`|`maxlength`| /* The maxlength attribute, controlled by a dirty value flag, declares a limit on the number of characters a user can input. |`number`|`undefined`|
24
24
|`min`|`min`| The min attribute specifies the minimum value that is sufficient for this input. |`number`|`undefined`|
25
25
|`minlength`|`minlength`| /* The minlength attribute, when it applies, is a form control minlength attribute. |`number`|`undefined`|
26
-
|`name`_(required)_|`name`| The name content attribute gives the name of the form control, as used in form submission and in the form element's elements object. If the attribute is specified, its value must not be the empty string. |`string`|`undefined`|
26
+
|`name`|`name`| The name content attribute gives the name of the form control, as used in form submission and in the form element's elements object. If the attribute is specified, its value must not be the empty string. |`string`|`undefined`|
27
27
|`pattern`|`pattern`| The pattern attribute specifies a regular expression against which the control's value is to be checked. |`string`|`undefined`|
28
28
|`placeholder`|`placeholder`| The placeholder attribute represents a short hint (a word or short phrase) intended to aid the user with data entry. |`string`|`undefined`|
29
29
|`readonly`|`readonly`| The readonly attribute controls whether or not the user can edit the form control. |`boolean`|`undefined`|
0 commit comments