4.8. Suppressing binding
Prev | 4. Rendering views | Next

## 4.8. Suppressing binding

Use the `bind` attribute to suppress model binding and validation for particular view events. The following example suppresses binding when the `cancel` event occurs:

    <view-state id="enterBookingDetails" model="booking">
        <transition on="proceed" to="reviewBooking">
        <transition on="cancel" to="bookingCancelled" bind="false" />
    </view-state>

Prev | Up | Next
4.7. Performing type conversion | Home | 4.9. Specifying bindings explicitly