Questions tagged [ionic2-select]

33 questions
1
vote
0 answers

Ionic2 - ion-select element at RTL issue

I use angular2 and ionic 2. My app support multy-languages. When user click "change to hebrew" the following code is computed: this.platform.setDir('rtl', true); this.translate.use('he'); However, all the app move to rtl well. But the ion-select…
user5260143
  • 1,048
  • 2
  • 12
  • 36
1
vote
1 answer

Ionic 2, ion-select, let user clear selection

I'm new at Ionic2 and angular2. I use ion-select plugin. This plugin display popup with options-list by radio-buttons, and to "submit" buttons - OK and Cancel. I want to let user see third option - "Clear Selection". Is this plugin support this…
user5260143
  • 1,048
  • 2
  • 12
  • 36
1
vote
1 answer

How to dismiss ion-slides in ionic2?

I'm using as introduction screens at full screen mode in my application. I could able to swipe through all slides. But couldn't able to find a method to dismiss or close the slides.           

Slide…

0
votes
0 answers

Ionic 4 not showing data in HTML

l’m developing app.The code working fine in console with out any error , but no information in html. Here is the code : home.page.html
0
votes
2 answers

Not getting changed value of drop-down in ionic 2

I want to edit the filled form but I don't get the value form the drop-down element Class *
0
votes
0 answers

Get elements from two arrays and update/replace them in another

I need to get the ID’s from arr1 that match names in arr2 and replace/add these name ID pairs into arr3. arr1: { [ id: [1234, 12345], name: ‘one’, }, { id: [1270, 67812], name: ‘two’, }, { …
0
votes
1 answer

Ionic2 + Application

I'm a bit confused about the application instantiation hierarchy, especially for providers. So basically you do the following in app.module.ts import { myService} from '../providers/myService/myService'; and add it to the @NgModule collection …
SuperRoo
  • 87
  • 1
  • 7
0
votes
0 answers

Angular 2 Ionic 2 - Compare two arrays, and get the ID’s from the NAME values that match into a New array.

I have a data entry page that is used to collect data for an HTTP PUT request. One of the ion-select options provides some name values to choose from. I need to get the ID’s from that array that match the users selected names for the PUT request;…
0
votes
1 answer

Angularfire2 promise completion not calling function

have got a provider async function that creates a new user using angularfire2/auth...I have been tracking the progress with console logs as chrome doesn't work in promises very well (or I can't get it to work) and found that I am going into the…
0
votes
1 answer

ionic firebase database events

So I have firebase database and mostly all screens is connected to firebase database. I have a page where I need to delete/add data from firebase database. The problem now is when I delete/add something it open the pages who I visited and connected…
0
votes
1 answer

how to get select icon inline with ion icon

I have an icon inside of a button tag. I also have a select drop down and I want to place its arrow icon directly inline with the heart icon. I thought I could do this with regular css positioning, but unless I remove the select icon from inside…
Spilot
  • 1,495
  • 8
  • 29
  • 55
0
votes
1 answer

Hide items in list dynamically with [hidden]

I did that and I think it could work because I see in the console that [hidden] is updated for each element but it doesn't hide elements. It seems like I should refresh the page. I don't understand why it's not display dynamically :…
0
votes
0 answers

How to know register ionic 2

How to know if the device in ionic 2 is registered or not in the code? I currently have this: private registerToken(){ this.push.register().then((t: PushToken) => { return this.push.saveToken(t,{ ignore_user: true …
kast
  • 1
0
votes
1 answer

is there a way to listen to model changes in ionic 2 and only then set the values back to storage?

I have an ionic 2 class: export class SettingsPage { public num = 2; public num1 = 3; constructor(public navCtrl: NavController, public navParams: NavParams, public storage: Storage) { storage.ready().then(() => { //…
Jas
  • 14,493
  • 27
  • 97
  • 148
0
votes
0 answers

ionic2: How to display the selected result in the search bar when using ion searchbar with REST API?

I want to create a dropdown list with searchbar with the list containing data from a REST API. Initially in the searchbar I created I could just select the item but couldn't display that in the searchbar. I want the selected item to be displayed in…
Impromptu_Coder
  • 425
  • 3
  • 7
  • 27