From f3b4df5825e6dc02c3b49d3dc4b2bcc4fd17c241 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Thu, 8 Jan 2026 02:39:52 +0100 Subject: [PATCH] fix: change image URL input type to text for relative paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The media library returns relative paths like /uploads/... which don't pass HTML5 url validation. Changed to type="text" to accept both full URLs and relative paths from the media library. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- app/templates/admin/vendor-product-create.html | 4 ++-- app/templates/admin/vendor-product-edit.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/admin/vendor-product-create.html b/app/templates/admin/vendor-product-create.html index ac3155c2..52cae800 100644 --- a/app/templates/admin/vendor-product-create.html +++ b/app/templates/admin/vendor-product-create.html @@ -300,10 +300,10 @@

Or enter URL directly:

diff --git a/app/templates/admin/vendor-product-edit.html b/app/templates/admin/vendor-product-edit.html index 2f9ab554..a8fd3e69 100644 --- a/app/templates/admin/vendor-product-edit.html +++ b/app/templates/admin/vendor-product-edit.html @@ -276,10 +276,10 @@