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