TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Strange button behavior

I have a label and a button. The visibility of both of them is controlled by values in my DB. If the label is visible the button isn't and visa versa.

The button is meant to navigate to another page. However, before it goes to the other page it makes the label visible. Which is overriding the DB control in some way.

Any ideas why this strange behavior is happening?

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Strange button behavior

Another strange thing if I don't do a full page refresh it takes 2 clicks to go to other page

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Strange button behavior

Hi Tony -

Could you please send us screen shots of your implementation so we can better understand what is happening.

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Strange button behavior

What do you mean by implementation?

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Strange button behavior

The screens would show the visibility of the label and the button mapped to a yes/no value (1 or 0). Both the components are set with visibility off by default.

When I click on the button it should navigate to another page. It does, but not before showing the label,

I'll try and do some screen shots, but that is essentially what happens.

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Strange button behavior

I think this might be a bug. I've removed all actions from the button so it just has to navigate to the new page, but it still changes the visibility of the label. Why would it override the data passed from the database?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Strange button behavior

Hello Tony,

Do you use service's mapping to these controls? Can you provide more details, screenshots or exact steps to reproduce this problem?

TonyS
Posts: 0
Joined: Thu Jun 11, 2015 12:11 pm

Strange button behavior

Yep that's how the database sets the visibility.

I couldn't get it to work so I removed the label. Shame cos it would have been a better UX.

Return to “Issues”