...

/

Solution: Model Defaults and Events

Solution: Model Defaults and Events

Follow step-by-step instructions to display contact with no phone number using model defaults and events in Marionette.

Setting a default value for phoneNumber

We just need to alter our model definition to include a default value for the phoneNumber attribute:

Access this course and 1400+ top-rated courses and projects.