Closed ElGabbu closed 8 years ago
Do you experience this with a non-boolean value? If you add a string to the DB, does it work in your first example?
I didn't try with other types I'm afraid however after a while it started working without any code changes :/ ... very weird, must be some sort of caching
Ok. Thanks for the update
Hi all,
I setup a widget which has a db field:
When trying to read that property from the controller's function using:
$this->widget->FeaturedOnly
I didn't get back a value ... the only way I found to manage to ready the correct value was:
$this->widget->dbObject('FeaturedOnly')->getValue()
Seems a bit cumbersome, I am not sure why my first approach didn't work but I noticed that in the record property of the widget the field was showing as lazy ...
Thanks