change title input field id from email to title
This commit is contained in:
parent
0084c83551
commit
f10873b8ca
1 changed files with 5 additions and 5 deletions
|
|
@ -174,7 +174,7 @@ export default function VideoMoreMenu({ video }: Props) {
|
||||||
<Dialog.Panel className="w-full max-w-md transform overflow-hidden rounded-2xl bg-white p-6 text-left align-middle shadow-xl transition-all">
|
<Dialog.Panel className="w-full max-w-md transform overflow-hidden rounded-2xl bg-white p-6 text-left align-middle shadow-xl transition-all">
|
||||||
<div className="sm:col-span-4">
|
<div className="sm:col-span-4">
|
||||||
<label
|
<label
|
||||||
htmlFor="email"
|
htmlFor="title"
|
||||||
className="block text-sm font-medium leading-6 text-gray-900"
|
className="block text-sm font-medium leading-6 text-gray-900"
|
||||||
>
|
>
|
||||||
Video title
|
Video title
|
||||||
|
|
@ -183,10 +183,10 @@ export default function VideoMoreMenu({ video }: Props) {
|
||||||
<input
|
<input
|
||||||
value={title}
|
value={title}
|
||||||
onChange={(e) => setTitle(e.currentTarget.value)}
|
onChange={(e) => setTitle(e.currentTarget.value)}
|
||||||
id="email"
|
id="title"
|
||||||
name="email"
|
name="title"
|
||||||
type="email"
|
type="title"
|
||||||
autoComplete="email"
|
autoComplete="title"
|
||||||
className="block w-full rounded-md border-0 px-2 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
|
className="block w-full rounded-md border-0 px-2 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue