Small suggestion, you can Small suggestion, you can eliminate the need for your mounted lifecycle hook with the watch immediate setting by doing something like the following (formatting is being lost): watch: { value: { immediate: true, handler: function (newValue) { this.selectedOption = newValue } } } Reply
Small suggestion, you can eliminate the need for your mounted lifecycle hook with the watch immediate setting by doing something like the following (formatting is being lost):
watch: {
value: {
immediate: true,
handler: function (newValue) {
this.selectedOption = newValue
}
}
}