Skip to content

Commit

Permalink
fix(renderless-extra-params): binding props to the default slot as raw
Browse files Browse the repository at this point in the history
  • Loading branch information
joseacabaneros committed Aug 2, 2024
1 parent 3bd300a commit f566c87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
xBus.emit('UserChangedExtraParams', { [props.name]: newValue });
}
return () => slots.default?.({ value, updateValue })[0] ?? '';
return () => slots.default?.({ value: value.value, updateValue })[0] ?? '';
}
});
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
computed,
defineComponent,
getCurrentInstance,
h,
onBeforeUnmount,
onMounted,
provide,
Expand Down

0 comments on commit f566c87

Please sign in to comment.