[dyad] Fixed URL input validation - wrote 1 file(s)
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user