SizeInput: add 'name' attr to associate <label> with <input>
This commit is contained in:
@@ -35,6 +35,7 @@ const SizeInput: React.FC<SizeInputProps> = () => {
|
|||||||
<label htmlFor="size-input">{`${size}px`}</label>
|
<label htmlFor="size-input">{`${size}px`}</label>
|
||||||
<input
|
<input
|
||||||
id="size-input"
|
id="size-input"
|
||||||
|
name="size-input"
|
||||||
value={size}
|
value={size}
|
||||||
type="range"
|
type="range"
|
||||||
title={size.toString()}
|
title={size.toString()}
|
||||||
|
|||||||
Reference in New Issue
Block a user