EasyUI Forum
January 16, 2022, 02:38:34 AM *
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 1906 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: 2031


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
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!