[dyad] Fixed URL input validation - wrote 1 file(s)

This commit is contained in:
[dyad]
2026-01-20 13:23:21 +01:00
parent 6c738cd9d1
commit 73b8c5ba2a

View File

@@ -74,8 +74,8 @@ export function MetaForm() {
<Globe className="absolute left-3 top-1/2 -translate-y-1/2 h-5 w-5 text-muted-foreground" />
<Input
name="url"
type="url"
placeholder="https://example.com"
type="text"
placeholder="example.com"
required
className="pl-10 h-12 text-base rounded-lg shadow-sm"
value={url}
@@ -217,7 +217,7 @@ export function MetaForm() {
<Edit className="h-4 w-4" />
)}
<span className="sr-only">{isEditingDescription ? "Done editing" : "Edit"}</span>
</Button>
</button>
</div>
</div>
<p className="text-sm text-muted-foreground mt-1 mb-2">