Flag of Ukraine
SymfonyCasts stands united with the people of Ukraine
Next Chapter

Challenge #1 of 1


Q: 

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?

userVoice