Fix Editor incorrect input type when using boolean as dataType.

Fix Editor incorrect input type when using boolean as dataType.