我不知道如何处理这个错误:
Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'NgModel' since it isn't a known property of 'ion-input'.
1. If 'ion-input' is an Angular component and it has 'NgModel' input, then verify that it is part of this module.
2. If 'ion-input' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
<ion-item>
<ion-label>Cambio</ion-label>
<ion-input type="text" …Run Code Online (Sandbox Code Playgroud) 我一直在寻找很长时间(也在寻找第三方库)来制作某种“视差”,但没有Toolbar,我所看到的只是使用Toolbar,但这不符合我的最佳利益,因为我Toolbar在整个应用程序中删除了.
我按照这个例子:https : //www.youtube.com/watch?v=HO82ES_RiSQ但它并没有说服我......
有谁能解决这个问题吗?我想知道如何在不使用的情况下进行视差Toolbar
提前致谢
我正在寻找一些示例,但是看不到有人在搜索它,我只想对2或3个单词进行硬编码,非常感谢。我是否需要寻找离子3?还是在angular2更好?
我收到以下错误:
core.js:7812 Can't bind to 'checked' since it isn't a known property of 'ion-radio'.
我在 HTML 上的代码是:
<ion-list>
<ion-radio-group value="default" (ionChange)="radioGroupChange($event)">
<ion-list-header>
<ion-label>Image language</ion-label>
</ion-list-header>
<ion-item>
<ion-label>SPA</ion-label>
<ion-radio [checked]="true" slot="start" value="spa"></ion-radio>
</ion-item>
<ion-item>
<ion-label>RU</ion-label>
<ion-radio slot="start" value="ru"></ion-radio>
</ion-item>
<ion-item>
<ion-label>ENG</ion-label>
<ion-radio slot="start" value="eng"></ion-radio>
</ion-item>
</ion-radio-group>
</ion-list>
Run Code Online (Sandbox Code Playgroud)
如何设置默认选中的单选按钮?
android ×1
angular ×1
autocomplete ×1
ionic3 ×1
ionic4 ×1
ionic5 ×1
java ×1
parallax ×1
radio-button ×1
searchbar ×1