EasyUI Forum
March 28, 2024, 04:11:27 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: DateTimeBox bug  (Read 6522 times)
li_xiao_zhong
Newbie
*
Posts: 2


View Profile Email
« on: December 05, 2021, 09:24:55 PM »

when I set template as
  <DateTimeBox :name="name" v-model="date" :format="yyyy-MM-dd HH:mm:ss" style="width: 150px"
  :panelStyle="{width:'150px'}"></DateTimeBox>

in dropdown panel the TimeBox only show hour and miniute like "12:22",lack of second part
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #1 on: December 06, 2021, 01:51:22 AM »

Please set the 'timeFormat' property with 'HH:mm:ss' value.
Code:
<DateTimeBox format="yyyy-MM-dd HH:mm:ss" timeFormat="HH:mm:ss" style="width: 150px"
  :panelStyle="{width:'150px'}"></DateTimeBox>
Logged
don
Newbie
*
Posts: 28


View Profile
« Reply #2 on: February 07, 2022, 11:07:37 AM »

There's a DateTimeBox for Vue? Is this new? I can't find any demo or documentation...
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!