Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Check for altInputFormats to be defined and an array before using it #6511

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Apr 5, 2017

  1. check for altInputFormats to be defined and an array

    If the user wrongly sets a property which is undefined for the attribute alt-input-formats, this will cause an exception to be thrown when evaluating the viewValue in the method parseDateString: "Cannot read property 'length' of undefined". Checking for its existence and if it's an array or not prevents the exception.
    gigadie authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    4f2e39a View commit details
    Browse the repository at this point in the history