@rkresnadi You could also use the “List of Numbers” element (within the JS Toolbox plugin):
In your app, after setting a List of Numbers element on the page, you can define the Starting Point, Length of List and Increment by 1 in this way:
Then use the List of Numbers as the data source in the dropdown element to get the last 10 years
Preview:
Editor: