Skip to content

Instantly share code, notes, and snippets.

@urameshibr
Created May 26, 2023 18:05
Show Gist options
  • Select an option

  • Save urameshibr/fe1b694f56986d085af2f86854736111 to your computer and use it in GitHub Desktop.

Select an option

Save urameshibr/fe1b694f56986d085af2f86854736111 to your computer and use it in GitHub Desktop.
<template>
<div>
<label>{{ label }}</label>
<input v-bind:value="value" v-on:input="$emit('input', $event.target.value)" />
</div>
</template>
<script>
export default {
props: ['label', 'value'],
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment