Dynamic options via JSON API for select field

Just came across this answer: