I have a trigger I'm using that's looking at the value of a gallery control / column to trigger the display mode of a button (STReportPrintBTN ), and it will only work for the first record of the gallery not the remaining records. I have many similar triggers that are using the same method looking at a gallery of items and is successfully working, so I don't get it.
One of the controls in the gallery named 'WOEstimate-JobNumber_2' (which is a text input) looks at the SP source ("Work Orders') list column 'Service Job Number'. Pretty simple... if that sucker is blank in any of the gallery's records, then make my button's display mode disabled. Here's my code...
If(IsBlank('WOEstimate-JobNumber_2'),DisplayMode.Disabled,DisplayMode.Edit)
I have also attempted using different methods to write the code with no success.
If(IsBlank(STReportGallery.AllItems.'WOEstimate-JobNumber_2'),DisplayMode.Disabled,DisplayMode.Edit)
If(IsBlank(STReportGallery.AllItems.'Service Job Number'),DisplayMode.Disabled,DisplayMode.Edit)
If('WOEstimate-JobNumber_2'.Text=Blank(),DisplayMode.Disabled,DisplayMode.Edit)
As I mentioned, the code is not giving me the desired result outside of the first record. Below you can see that I have many Yellow highlighted controls in multiple records that should be triggering the Button's Display Mode to be disabled, but it's not.

Can someone point out if I'm doing something wrong or if this is glitch? Thanks.