Check if value is true, and check the checkbox on update
I have a multi tenancy setup. But when i want to edit an tenancy I want to have all checkboxes checked if they are true in the json object from the database.
How can I do this?
So if in this example twitter is true, then I want to have the checkbox for twitter checked. Is this possible?
How can I do this?
So if in this example twitter is true, then I want to have the checkbox for twitter checked. Is this possible?