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

Conversation

gigadie
Copy link

@gigadie gigadie commented Apr 5, 2017

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.

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant