HI i have a input textfield with this code on onchange activity If(TextInput2.Text = "5"; Navigate([@SKIFT]; ScreenTransition.None); TextInput2.Text = "5"; Navigate(REP; Transition.None)) that will navigate to another screen. The navigation part do not work. I assume its a bug from ur end, when will this be fixed? Thanks in advance
Hi @Anonymous
Can you share details about the value that is returned from the scanner and what part do you want to extract out of it?
If you can give an example of data, we can help you build the expression.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
hm think we are Close, but i would need to split the value also. So i have a func First(Match(BarcodeScanner1.Value;"JOBB:(.+)LAGERSTED:";MatchOptions.Contains).SubMatches).Value that splits the value of qr scan and finds the value i need
@Anonymous
I am able to replicate the issue that you mentioned. The reason OnChange is not getting triggered is OnChange gets triggered when you change the input manually and click outside the control.
As a solution to your navigation issue, you can set this logical navigation on "OnScan" property of the barcode scanner. Since, this input is hidden, it will not change the configuation.
Scanner -> OnScan -> If(BarcodeScanner1.Value = "5"; Navigate([@SKIFT]; ScreenTransition.None); BarcodeScanner1.Value = "15"; Navigate(REP; Transition.None)) y
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
The textinput its getting its value from a qrscanner. So the textfield would be hidden.
But yes the navigation onchanged it very bugged. Because nothing happens
@Anonymous
I do not see any bug.
Here is the code I used to do the navigation in a text box:
Switch(tbInput.Text,"2",Navigate([@Screen2],ScreenTransition.Cover),"3",Navigate(Screen3,ScreenTransition.CoverRight))
The user needs to click outside the textbox once he enters the value in the textbox.
Regards
Krishna Rachakonda
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473