File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @web3uikit/core ' : patch
3
+ ---
4
+
5
+ fix(input,select): added name to element
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const Input: React.FC<IInputProps> = ({
23
23
errorMessage = 'Sorry this is not valid' ,
24
24
id,
25
25
label,
26
+ name,
26
27
onBlur,
27
28
onChange,
28
29
onFocus,
@@ -145,6 +146,7 @@ const Input: React.FC<IInputProps> = ({
145
146
maxLength = { validation ?. maxLength || props . maxLength }
146
147
min = { validation ?. min || props . min }
147
148
minLength = { validation ?. minLength || props . minLength }
149
+ name = { name }
148
150
onBlur = { ( e ) => onBlurEvent ( e ) }
149
151
onChange = { ( e ) => onChangeEvent ( e ) }
150
152
onFocus = { ( e ) => onFocusEvent ( e ) }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const TraditionalSelect: React.FC<ISelectProps> = ({
12
12
errorMessage = '' ,
13
13
id = 'web3uikit-select' ,
14
14
label,
15
+ name,
15
16
onBlurTraditional,
16
17
onChange,
17
18
onChangeTraditional,
@@ -55,6 +56,7 @@ const TraditionalSelect: React.FC<ISelectProps> = ({
55
56
}
56
57
required = { validation ?. required }
57
58
value = { value }
59
+ name = { name }
58
60
>
59
61
< option disabled > { placeholder || 'Please choose' } </ option >
60
62
You can’t perform that action at this time.
0 commit comments