We are interested in using Bryntum Scheduler in our Angular 7 app, so I downloaded the trial version 1.1.2. However when I integrated it with our app and made a small demo, I couldn't run the production build. Dev build works fine.
ng build --prod
Error message on Chrome:
Error message on Firefox:Uncaught RangeError: Maximum call stack size exceeded
at String.indexOf (<anonymous>)
To reproduce it, just compile the example folder "angular" with --prod flag and then try to run it.Too much recursion [Learn More]
Also, I found some other bugs. Namely:
- - I tried to hide event end time input on event edit form but endTimeConfig does not work. endDateConfig controls both date and time fields (hides/shows them both, sets their labels both etc.). startDateConfig and startTimeConfig works fine however.
- beforeeventresizefinalize finalize function doesn't work properly. After setting async property to true, whether I send true or false as parameter to the finalize function doesn't matters. It finalizes event resize as if I sent true (or without params). Same code works fine on beforeeventdropfinalize event however.
- eventEdit extraWidgets value property does not set a default value for event edit forms if name parameter matches a property from eventRecord proerty. If I give some random name to name property, it sets a default value but then doesn't set proper field.