John Cutburth

Results 21 comments of John Cutburth

I am also getting this error. JS $("#demo_grid1").bs_grid({ ``` ajaxFetchDataURL: '/Home/GetLabels', row_primary_key: "LabelTypeID", columns: [ { field: "LabelTypeID", header: "Id", visible: "no" }, { field: "Description", header: "Description" }, {...

So just ran into this issue. There might be a simple "maybe hacky" way to solve this. using HttpService do a JSONEncode of the 2 values in the isSimilar function....

Also, this would not work 100% for a mixed table but from reading the API doc Roblox while allows it does not like mixed tables.

Might not be perfect but currently if you have a table in a state it always updates the state even if you pass it the same value.

> This solution will not work. You can't JSONEncode Roblox datatypes, meaning that using this would make Fusion unable to have states hold tables with Vector3, Color3, Instances, etc It...

ok update to check if RB datatypes are in the encode and fallback to og table handling. ```lua local function isSimilar(a: any, b: any): boolean if typeof(a) == "table" then...

Non hacky way of handling. ```lua local function _subset(a: table, b: table): boolean if a == nil and b == nil then return true elseif (a == nil and b...

This is version would check State Objects in the tables or if for some reason the state object value was a state object. ```lua local class = {} class.__index =...

if you are good with this last version I can do a pull request.

> I wouldn't create a PR just yet only because this issue is marked as `status: needs design`. PR's are generally meant for approved features (a mistake I made twice...