No, sadly you're forced to parse it on your own in the formChanged()
method, since you always get a string back from the select
.
You could try it with something like this:
formChanged(): void { selected.isConnected = parseInt(selected.isConnected); }