seamless-admin icon indicating copy to clipboard operation
seamless-admin copied to clipboard

Error with date columns

Open mirrorps opened this issue 1 year ago • 2 comments

There're js errors, when using a date type column in $fillable property and the list is not rendered.

class User .... 

protected $fillable = [
        'name',
        'email',
        'password',
        'created_at', //<--- date 

    ];

.......

JS Errors: Screenshot 2024-09-17 at 17 40 25

mirrorps avatar Sep 17 '24 14:09 mirrorps

Thanks for bringing this to my attention. I will fix it as soon as possible. The fix will be rolled out with the next update.

Advaith3600 avatar Sep 19 '24 05:09 Advaith3600

Just FYI - Today the same error occurred with a new boolean variable in the User's fillable array (new db column). I've cleared all Laravel caches. So probably it's not related to the date column.

mirrorps avatar Sep 19 '24 12:09 mirrorps