nstudio/nativescript-checkbox

Can we have a 'readonly' property?

Closed this issue · 6 comments

Hi guys, first of all, Great Plugin!
I'd like to request a 'readonly' (or 'disabled') property so that the Checkbox can be disabled. Thanks

I join the request. It can be a very useful option.
Great job, thank you.

Have you tried setting editable="false" on it?

@shiv19 editable="false" doesn't seem to be working

Oh okay, not sure about it then.

We'll add an editable property to keep it aligned with other NativeScript widgets

You can try setting isUserInteractionEnabled="false" and isEnabled="false" on the checkbox to disable it