Toggle saving to DB but not initializing with correct value
I have a form with a Toggle input on it. It's updating the database when I save the form, but when the page refreshes it's not showing the correct value. It's always "on". This is on a Page class.
I have this in my mount method:
and here's my form:
Any ideas?
1 Reply
nvm...I had an attribute that was modifying the value and I didn't realize it..