Start your All-Access Pass to unlock this challenge
Suppose we have a Stimulus controller like this:
export default class extends Controller {
static targets = ['selectItem'];
static values = {
itemId: Number
}
}
How would you add a change callback method for the itemId
value?