mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 11:17:04 +08:00
Fixed tslint errors.
This commit is contained in:
@ -219,10 +219,7 @@ export class EditableTextBase extends common.EditableTextBase {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
var inputType = editableTextBase.android.getInputType();
|
||||
console.log("BEFORE: " + inputType);
|
||||
|
||||
switch (data.newValue) {
|
||||
case true:
|
||||
inputType = inputType | android.text.InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE;
|
||||
@ -240,6 +237,5 @@ export class EditableTextBase extends common.EditableTextBase {
|
||||
}
|
||||
|
||||
editableTextBase.android.setInputType(inputType);
|
||||
console.log("AFTER: " + inputType);
|
||||
}
|
||||
}
|
@ -88,8 +88,6 @@ export class EditableTextBase extends common.EditableTextBase {
|
||||
}
|
||||
|
||||
public _onAutocorrectPropertyChanged(data: dependencyObservable.PropertyChangeData) {
|
||||
console.log("BEFORE: " + (<UITextInputTraits>this.ios).autocorrectionType);
|
||||
|
||||
var newValue: UITextAutocorrectionType;
|
||||
switch (data.newValue) {
|
||||
case true:
|
||||
@ -104,6 +102,5 @@ export class EditableTextBase extends common.EditableTextBase {
|
||||
}
|
||||
|
||||
(<UITextInputTraits>this.ios).autocorrectionType = newValue;
|
||||
console.log("AFTER: " + (<UITextInputTraits>this.ios).autocorrectionType);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user