Browse Source

chore/gui-v2-phonenumber-cleanup

pull/2925/head
Muhammed Mustafa 2 years ago
parent
commit
b1fecd85b5
  1. 14
      packages/nc-gui-v2/components/cell/PhoneNumber.vue

14
packages/nc-gui-v2/components/cell/PhoneNumber.vue

@ -10,22 +10,14 @@ const { modelValue: value } = defineProps<Props>()
const emit = defineEmits(['update:modelValue']) const emit = defineEmits(['update:modelValue'])
const localState = computed({ const VModal = computed({
get: () => value, get: () => value,
set: (val) => emit('update:modelValue', val), set: (val) => emit('update:modelValue', val),
}) })
</script> </script>
<template> <template>
<Text v-model="localState" /> <Text v-model="VModal" />
</template> </template>
<style scoped> <style scoped></style>
input,
textarea {
width: 100%;
height: 100%;
color: var(--v-textColor-base);
outline: none;
}
</style>

Loading…
Cancel
Save