I am trying to append/remove an element to an array when my stepper is pressed. It is possible to accomplish this using temp variables and if statements, but is there a more simple way to access whether the stepper was incremented or decremented?
compare the length of your array to sender.value
in stepper changed function