Search found 45 matches

Go to advanced search

by Matt Simoncavage
Fri Jul 29, 2016 2:05 pm
Forum: Issues
Topic: Return to current spot in list
Replies: 1
Views: 399
 
Jump to post

Return to current spot in list

In my ionic app, I have a list of items on a page. When I click one, it takes me to a details page, which has a back button. When I click the back button and return to the page with the list, it always starts me back at the top. How can I tell it to remember the spot I was at when I left, so that af...
by Matt Simoncavage
Sat Jul 23, 2016 4:27 pm
Forum: Issues
Topic: No Results message Ionic
Replies: 2
Views: 501
 
Jump to post

No Results message Ionic

Thanks Sergiy, I knew it had to be something like that I was just confused on where exactly to add the code. It worked!

by Matt Simoncavage
Fri Jul 22, 2016 11:54 pm
Forum: Issues
Topic: No Results message Ionic
Replies: 2
Views: 501
 
Jump to post

No Results message Ionic

Hi, can you please tell me how I can take a certain action (such as display a 'No Results' message) when a query service doesn't return any results in Ionic? I tried using the error event in the query's function, but it did not work. Thanks!

by Matt Simoncavage
Fri Jul 22, 2016 9:00 pm
Forum: Issues
Topic: Ionic input - turn off autocomplete / autocapitalization
Replies: 2
Views: 498
 
Jump to post

Ionic input - turn off autocomplete / autocapitalization

How can I turn off autocomplete and autocapitalization in an input in my Ionic app. I tried setting it as an email type, which did work. However, I'm using my inputs in both a Login service and a Query service and when I set them as email type it cause both of those services to no longer work.

by Matt Simoncavage
Fri Jul 22, 2016 8:55 pm
Forum: Issues
Topic: If tab is active, show element
Replies: 1
Views: 378
 
Jump to post

If tab is active, show element

Hi, I have a set of tabs (the component, not the index ones) on a page in my Ionic app. There is Tab1 and Tab2. I have an image outside of the tab content elsewhere on my page. What I need to do is show it when Tab1 is active, but hide it when Tab2 is active. Is this possible, or is the only way to ...
by Matt Simoncavage
Thu Jul 14, 2016 2:54 am
Forum: Issues
Topic: Ionic set active tab on page load.
Replies: 0
Views: 1340
 
Jump to post

Ionic set active tab on page load.

Hi, I have a page in ionic with two buttons. Both navigate to the same page that contains a tab with two tab items. When I click button 1 on the first page, I want the 1st tab to be active on the second page. When I click the second button, I want to do the opposite: tab 2 should be active. I tried ...
by Matt Simoncavage
Fri Jun 17, 2016 9:36 pm
Forum: Issues
Topic: Hiding 'undefined' text in Ionic
Replies: 9
Views: 1036
 
Jump to post

Hiding 'undefined' text in Ionic

Hi again Sergiy, thanks for your reply. I'm just a bit confused on where to run that code. Do I apply it to the mapping, of to the init scope. Also, the response parameter if a field of a pointer. So would I just write it like this?:

success.data.Pointer.Avatar

by Matt Simoncavage
Thu Jun 16, 2016 2:34 pm
Forum: Issues
Topic: Hiding 'undefined' text in Ionic
Replies: 9
Views: 1036
 
Jump to post

Hiding 'undefined' text in Ionic

Great, that worked. I have one more similar question. In JQuery, I was able to map a value from the database to an image source and used the following javascript to force it to be a certain image if the value was blank: if (value === undefined) { return '../img/Placeholder.png'; } else { return valu...
by Matt Simoncavage
Tue Jun 14, 2016 7:36 pm
Forum: Issues
Topic: Hiding 'undefined' text in Ionic
Replies: 9
Views: 1036
 
Jump to post

Hiding 'undefined' text in Ionic

Thanks again Sergiy, I was making it more complicated than it was.

I used: myVariable==value

One more question: I tried to add a second ng-hide attribute but it's only letting me have one. Is there a way to use that condition for two values?

Example:
myVariable--value1,value2

Go to advanced search