Skip to content

Commit

Permalink
placeholder property does not work in iOS #7
Browse files Browse the repository at this point in the history
EddyVerbruggen committed Nov 18, 2016
1 parent 202b123 commit 32f2340
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-native-keyboard"
version="1.1.0">
version="1.1.1">

<name>Native Keyboard</name>

3 changes: 3 additions & 0 deletions src/ios/NKSLKTextViewController.m
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 32f2340

Please sign in to comment.