From 32f23400adc7d3c13431912ba0640932ed7eb5e9 Mon Sep 17 00:00:00 2001 From: EddyVerbruggen Date: Fri, 18 Nov 2016 14:28:36 +0100 Subject: [PATCH] placeholder property does not work in iOS #7 --- package.json | 2 +- plugin.xml | 2 +- src/ios/NKSLKTextViewController.m | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3fbe088..b7d26b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-native-keyboard", - "version": "1.1.0", + "version": "1.1.1", "description": "This plugin aims to solve common keyboard problems encountered with Cordova / PhoneGap apps. The messenger component (see screenshots) is ready for production, but this plugin will have more tricks up its sleeve. I'll document those once they're ready for primetime as well.", "cordova": { "id": "cordova-plugin-native-keyboard", diff --git a/plugin.xml b/plugin.xml index 99e313c..e8fb768 100755 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="1.1.1"> Native Keyboard diff --git a/src/ios/NKSLKTextViewController.m b/src/ios/NKSLKTextViewController.m index 48de9d2..91d2630 100644 --- a/src/ios/NKSLKTextViewController.m +++ b/src/ios/NKSLKTextViewController.m @@ -129,6 +129,9 @@ - (void) configureMessenger { NSNumber* maxChars = options[@"maxChars"]; if (maxChars != nil) { self.textInputbar.maxCharCount = [maxChars intValue]; + } else { + // limitless + self.textInputbar.maxCharCount = 0; } // style the messageview