ko_components: Added string validation