I’ve made sure to import my interface: I initialized the array of objects with some test data (the date property has the type Date, in case you’re wondering): This is the function in question: When called, on a date that’s already in the array of objects, it acts like that data isn’t already in there for that date. I’ll include
Tag: associative-array
Problem displaying dynamic data in an array in Laravel blade view using Javascript
Working on a Laravel application whereby I have some data in an array. The data is a collection of associative arrays whereby each array has an identity number and a collection of policy codes in it. Am fetching the data and displaying to the blade. In the view I have partitioned in 2 columns (using bootstrap grid system). On the