I want to select a certain field (X) from an input vector layer in my R processing script. In the below example, I want to be able to select the field (X) from the input (Layer). But the actual model always shows the fields (X) of the first (alphabetical) point layer in my QGIS project. It should reactively update the field drop down list according to which layer I selected.
##showplots ##Layer=vector point ##X=Field Layer boxplot(Layer[[X]])