KOBENDigital / ConditionalDisplayers

Collection of modified Umbraco property editors to make them able to control the display of other properties in the same document type.
9 stars 14 forks source link

Typed model always returns 0 instead of boolean #2

Closed ReVoid closed 5 years ago

ReVoid commented 5 years ago

Hi, Mario

Field of Checkbox type always return 0, doesn't matter true or false was set in a backoffice Umbraco 7.12.4

Great package, but useless when you need to use it as a boolean like condition of rendering something with razor

I think, making boolean as $scope.model.value would be much better and usefull.

Thanks. Dmitriy.

skartknet commented 5 years ago

Oh no! That's not good. I'll try to fix it soon. thanks for letting me know.

ReVoid commented 5 years ago

Oh no! That's not good. I'll try to fix it soon. thanks for letting me know.

Your welcome. Unfortunatly, I did't test dropdown conditional displayer prepery editor for that bug.

And one more thing :) Missing semicolons here in the end of 1-st row

Thanks

skartknet commented 5 years ago

This has been fixed on version 1.2.0