Skip to content

v2.0.0-beta.8

Pre-release
Pre-release
Compare
Choose a tag to compare
@shentao shentao released this 04 Oct 22:27
· 134 commits to 2.0 since this release

New:

  • Support for v-model based on Form-Input-Components-using-Custom-Events
  • CustomLabel function can be applied to both primitives and objects
  • LocalSearch prop, to enable local filtering. Disabling it might be useful if you have async search. Default is true.

Breaking changes:

  • Instead of Vue.partial for custom option templates you can use a custom render function.
  • The :key prop has changed to :track-by, due to conflicts with Vue 2.0.
  • @update has changed to @input to also work with v-model
  • :selected has changed to :value for the same reason

If your @update handler was only assigning the new value to the model, like for example:

onChange (newVal) {
  this.selected = newVal
}

you can safely change it to just v-model="selected".