fix(freelancer-admin): url inputs no longer block a save on legacy non-URL values

The live record carries placeholder junk in Linkedin/upwork/Image ('1',
'ieivmermi', 'gineoirn'). With type=url the whole form went invalid and the owner
could not save anything. type=text inputmode=url keeps the URL intent and the
mobile keyboard without hard-blocking on data the owner is trying to correct.
This commit is contained in:
webmaster committed 2026-11-03 11:49:05 +00:00
1 parent 64540e208f
commit 832bb41206
1 file changed
+6 -6
+6 -6
View File
@@ -264,27 +264,27 @@
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="adGithub">GitHub URL</label> <label for="adGithub">GitHub URL</label>
<input id="adGithub" name="github" type="url" /> <input id="adGithub" name="github" type="text" inputmode="url" />
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="adOca">OCA profile URL</label> <label for="adOca">OCA profile URL</label>
<input id="adOca" name="oca_profile" type="url" /> <input id="adOca" name="oca_profile" type="text" inputmode="url" />
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="adLinkedin">LinkedIn URL</label> <label for="adLinkedin">LinkedIn URL</label>
<input id="adLinkedin" name="Linkedin" type="url" /> <input id="adLinkedin" name="Linkedin" type="text" inputmode="url" />
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="adUpwork">Upwork URL</label> <label for="adUpwork">Upwork URL</label>
<input id="adUpwork" name="upwork" type="url" /> <input id="adUpwork" name="upwork" type="text" inputmode="url" />
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="adFiverr">Fiverr URL</label> <label for="adFiverr">Fiverr URL</label>
<input id="adFiverr" name="fiverr" type="url" /> <input id="adFiverr" name="fiverr" type="text" inputmode="url" />
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="adImage">Image URL</label> <label for="adImage">Image URL</label>
<input id="adImage" name="Image" type="url" /> <input id="adImage" name="Image" type="text" inputmode="url" />
</div> </div>
<label class="form-check"> <label class="form-check">
<input type="checkbox" name="OCA_member" value="1" /> <input type="checkbox" name="OCA_member" value="1" />