Not Working "Clear" button at input type of HTML 5 on Safari

Forum to discuss the Web client version of Servoy.

Not Working "Clear" button at input type of HTML 5 on Safari

Postby chaitanyas » Thu Sep 10, 2015 6:14 am

Hi Everyone,


I am facing some issue with the <input type="time"> in Safari on iPad. I have changed input type of a time entry field to HTML5 input type "time" using webClientUtils plugin, the control is working fine, I can enter time but "Clear" button is not working on iPad (Please check the attachment), it's doing nothing when click on "Clear". Is there any issue with input type = "time" on Safari/iPad ? and I tried to remove the "Clear" button using CSS like,

Code: Select all
input[type=time]::-webkit-clear-button{
    display:none;
}


which is not working either, can you please share what I have missed and are the reasons for this.


Thanks In Advance
You do not have the required permissions to view the files attached to this post.
chaitanyas
 
Posts: 101
Joined: Tue Jul 26, 2011 8:28 am

Re: Not Working "Clear" button at input type of HTML 5 on Sa

Postby chaitanyas » Fri Sep 11, 2015 6:49 am

Hi,

Please reply me if anyone has idea about this issue.


Thanks
Chaitanya S
chaitanyas
 
Posts: 101
Joined: Tue Jul 26, 2011 8:28 am

Re: Not Working "Clear" button at input type of HTML 5 on Sa

Postby mboegem » Fri Sep 11, 2015 11:18 am

Just plain html (not Servoy) using an input-time element works for me on iPad.

Code: Select all
<html>
<head>
</head>
<style>
input[type=time]::-webkit-clear-button{
    display:none;
}
</style>
<body>
<form>
<input type="time"/>
</form>
</body>
</html>
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Not Working "Clear" button at input type of HTML 5 on Sa

Postby chaitanyas » Fri Sep 11, 2015 12:46 pm

Hi Marc,

Thanks for the reply and can you please share, how we will fetch data from the HTML input type field in Servoy. I need to do some operation upon adding time, like, I have start and end time and after adding start and end time, I need to do some operation. Can you please give me a suggestion to achieve this requirement using a plain html.


Thanks In Advance
Chaitanya S
chaitanyas
 
Posts: 101
Joined: Tue Jul 26, 2011 8:28 am

Re: Not Working "Clear" button at input type of HTML 5 on Sa

Postby chaitanyas » Tue Sep 15, 2015 4:40 am

Hi All,

Is there any best option to enter/select time in iPad on Safari browser ?, Please share if any alternative.


Thanks In Advance
Chaitanya S
chaitanyas
 
Posts: 101
Joined: Tue Jul 26, 2011 8:28 am

Re: Not Working "Clear" button at input type of HTML 5 on Sa

Postby david » Tue Sep 15, 2015 3:21 pm

David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 2 guests

cron