angular2-nativescript

How to edit NativeScript-Angular RadDataForm UIStepper on iOS?

让人想犯罪 __ 提交于 2021-02-10 14:14:55
问题 In a NativeScript-Angular app, I’m trying to style a RadDataForms TKPropertyEditor . For the Stepper Editor on iOS I want do increase the distance between the controls and the displayed value, but I can't find a way to access them. I'm using nativescript-ui-dataform: 4.0.0 . <TKEntityProperty tkDataFormProperty name="grade" displayName="Bewertung (1 – 10)" index="1"> <TKPropertyEditor tkEntityPropertyEditor type="Stepper"> <TKPropertyEditorParams tKEditorParams minimum="1" maximum="10" step=

ERROR in The target entry-point “@nativescript/angular” has missing dependencies on running a Nativescript Angular 9 project

感情迁移 提交于 2021-01-29 16:42:42
问题 I am receiving an error for a working Nativescript Angular 9 project which we started 2 weeks back . The error is like this : ERROR in The target entry-point "@nativescript/angular" has missing dependencies: - @nativescript/core/ui/layouts/layout-base We are working on a sharing code base which we were able to run both web code and native code simultaneously without any issues till last day. Today when i tried running the project for web application, i am getting this error. On googling , got

How do I change the return key type of a text from a prompt in NativeScript?

戏子无情 提交于 2021-01-29 10:12:49
问题 Changing the return key type of TextViews/TextFields is pretty straight forward, however, since prompts don't use any html there's no obvious way to change the return key type. the NativeScript docs don't indicate there being any way to change it either. 回答1: Unfortunately you can not do that. As of today {N} do not expose the underlaying native view for dialogs so it's not possible to override natively. You will have to build the complete custom dialog yourself to achieve what you are

dynamic size textview nativescript when you are writing a message

风流意气都作罢 提交于 2021-01-05 07:15:47
问题 I make a messagerie service like whatsapp in nativescript with angular2 and i have a issue with the size(height) of the textview when you are writing a message in the android platform. i want the height increase when you add an other line (like whatsapp or facebook, etc). In IOS, it's simple. click on the link dynamic size of a textview in IOS my html template is (just the bottom of the screen) : <StackLayout class="message-box-container"> <GridLayout columns="auto, *, auto" class="message

dynamic size textview nativescript when you are writing a message

风格不统一 提交于 2021-01-05 07:14:16
问题 I make a messagerie service like whatsapp in nativescript with angular2 and i have a issue with the size(height) of the textview when you are writing a message in the android platform. i want the height increase when you add an other line (like whatsapp or facebook, etc). In IOS, it's simple. click on the link dynamic size of a textview in IOS my html template is (just the bottom of the screen) : <StackLayout class="message-box-container"> <GridLayout columns="auto, *, auto" class="message

nativescript ios app crashes - attempting to change the getter of an unconfigurable property

自作多情 提交于 2021-01-02 17:50:21
问题 I created a directive to disable the context menu on android and ios app in Nativescript. import { Directive, OnInit, OnDestroy, ElementRef, Renderer2 } from "@angular/core"; import { isIOS } from "tns-core-modules/platform"; import * as utils from "tns-core-modules/utils/utils"; import { EventData } from "tns-core-modules/data/observable"; import { TextField } from "tns-core-modules/ui/text-field"; declare var UITextField, CGRectMake, android; if (isIOS) { UITextField.prototype.

nativescript ios app crashes - attempting to change the getter of an unconfigurable property

穿精又带淫゛_ 提交于 2021-01-02 17:36:55
问题 I created a directive to disable the context menu on android and ios app in Nativescript. import { Directive, OnInit, OnDestroy, ElementRef, Renderer2 } from "@angular/core"; import { isIOS } from "tns-core-modules/platform"; import * as utils from "tns-core-modules/utils/utils"; import { EventData } from "tns-core-modules/data/observable"; import { TextField } from "tns-core-modules/ui/text-field"; declare var UITextField, CGRectMake, android; if (isIOS) { UITextField.prototype.

nativescript ios app crashes - attempting to change the getter of an unconfigurable property

廉价感情. 提交于 2021-01-02 17:35:27
问题 I created a directive to disable the context menu on android and ios app in Nativescript. import { Directive, OnInit, OnDestroy, ElementRef, Renderer2 } from "@angular/core"; import { isIOS } from "tns-core-modules/platform"; import * as utils from "tns-core-modules/utils/utils"; import { EventData } from "tns-core-modules/data/observable"; import { TextField } from "tns-core-modules/ui/text-field"; declare var UITextField, CGRectMake, android; if (isIOS) { UITextField.prototype.