Edit box size on mobile problem

Issues related to forms.
Post Reply
Weldon
 
 
Posts: 5
Joined: Thu Sep 03, 2020 3:15 am

Edit box size on mobile problem

Post by Weldon »

i am using and edit box with the data type as date. On mobile view using either safari or chrome mobile the edit box size is limited to just the size of the date in the box. I can't make the box any wider. On computer it is fine even with shrinking screen. Also not showing date picker in box. Any ideas?
User avatar
crispy68
 
 
Posts: 3059
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Edit box size on mobile problem

Post by crispy68 »

Can you provide a link to the page to view?
Weldon
 
 
Posts: 5
Joined: Thu Sep 03, 2020 3:15 am

Re: Edit box size on mobile problem

Post by Weldon »

try https://zoocrewclub.com/test1.php

on Iphone start date and enddate editboxes are just size of date. Check on computer (chrome) and they are correct.
User avatar
Pablo
 
Posts: 23469
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Edit box size on mobile problem

Post by Pablo »

The 'date' input field is a standard HTML element. The appearance of the element will be different in each browser. This cannot be changed via HTML or CSS
If you want more control then consider using the datepicker object instead.
Post Reply