[Vuejs]-Vue3js Cutom input component disappearing if value=null

0👍

Actually your components is being rendered (you can see in devtools console). But because you pass empty or null as value prop to component there is nothing to show for editing. So you must set a default text to show in case of empty value (for example Edit here...). Then after user update the input replace it.

You can see this codesandbox to understand what I mean.

Leave a comment