Open trymeouteh opened 1 year ago
Timepicker example is broken.
Steps to reproduce the behavior:
<link rel="stylesheet" href="node_modules/tui-date-picker/dist/tui-date-picker.min.css"> <table style="width: 650px;"> <thead> <tr> <td> <h3>Basic</h3> </td> <td> <h3>Tab style</h3> </td> </tr> </thead> <tbody> <tr> <td> <div class="tui-datepicker-input tui-datetime-input tui-has-focus"> <input type="text" id="datepicker-input" aria-label="Date-Time"> <span class="tui-ico-date"></span> </div> <div id="wrapper" style="margin-top: -1px;"></div> </td> <td> <div class="tui-datepicker-input tui-datetime-input tui-has-focus"> <input type="text" id="datepicker-input-2" aria-label="Date-Time"> <span class="tui-ico-date"></span> </div> <div id="wrapper-2" style="margin-top: -1px;"></div> </td> </tr> </tbody> </table> <script src="node_modules/tui-date-picker/dist/tui-date-picker.min.js"></script> <script> var datepicker = new tui.DatePicker('#wrapper', { date: new Date(), input: { element: '#datepicker-input', format: 'yyyy-MM-dd HH:mm A' }, timePicker: true }); var datepicker2 = new tui.DatePicker('#wrapper-2', { date: new Date(), input: { element: '#datepicker-input-2', format: 'yyyy-MM-dd HH:mm A' }, timePicker: { layoutType: 'tab', inputType: 'spinbox' } }); </script>
Timepicker will work with no errors
Describe the bug
Timepicker example is broken.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Timepicker will work with no errors
Desktop (please complete the following information):