mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(android): edge-to-edge
Squashed from feat/edge-to-edge and resolved conflicts
This commit is contained in:
@@ -34,7 +34,7 @@ export abstract class EditableTextBase extends EditableTextBaseCommon {
|
||||
return keyboardType.toString();
|
||||
}
|
||||
}
|
||||
[keyboardTypeProperty.setNative](value: 'datetime' | 'phone' | 'number' | 'url' | 'email' | 'integer' | string) {
|
||||
[keyboardTypeProperty.setNative](value: 'datetime' | 'phone' | 'number' | 'decimal' | 'url' | 'email' | 'integer' | string) {
|
||||
let newKeyboardType: UIKeyboardType;
|
||||
switch (value) {
|
||||
case 'datetime':
|
||||
@@ -49,6 +49,10 @@ export abstract class EditableTextBase extends EditableTextBaseCommon {
|
||||
newKeyboardType = UIKeyboardType.NumbersAndPunctuation;
|
||||
break;
|
||||
|
||||
case 'decimal':
|
||||
newKeyboardType = UIKeyboardType.DecimalPad;
|
||||
break;
|
||||
|
||||
case 'url':
|
||||
newKeyboardType = UIKeyboardType.URL;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user