IgniteUI / ignite-ui

Ignite UI for jQuery by Infragistics

Home Page:https://bit.ly/2kuu1fT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paste from excel in igDatePicker not working

IvayloG opened this issue · comments

Description

Copy and Paste a date from excel file in igDatePicker is not working as expected.

Steps to reproduce

In excel file create a date cell to copy from like:

  1. 2019/06/06
    OR
  2. 2019-1-1

Copy and paste a date from excel file in a igDatePicker. Formatted cell from excel should have the similar date Format as the igDatePicker.

For example: dateInputFormat: "yyyy/mm/dd"

Observe.

Result

The pasted value is evaluated with wrong data.length, so the Pasting is not working as expected.

Expected result

Copy Paste should work if formatting is similar.

Attachments

sample.zip