first commit
This commit is contained in:
19
components/coba/namaUser.vue
Normal file
19
components/coba/namaUser.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div>
|
||||
<TextElement name="name" label="Name" @change="onChange" />
|
||||
</div>
|
||||
ini nama
|
||||
<GroupElement name="column_2" :columns="{
|
||||
container: 6,
|
||||
}">
|
||||
<CobaPassword />
|
||||
</GroupElement>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
const onChange = (el$) => {
|
||||
console.log(el$)
|
||||
}
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
19
components/coba/password.vue
Normal file
19
components/coba/password.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
|
||||
<TextElement name="email2" label="Email" @change="onChange" />
|
||||
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const parsedName = ref({})
|
||||
const onChange = (newValue, oldValue, el$) => {
|
||||
console.log(el$.$parent)
|
||||
// console.log(option)
|
||||
// const i = parseInt(el$.$parent.$parent.path.split('.')[1])
|
||||
// parsedName.value[i] = parseName(el$.$parent.$parent.children$.text.value)
|
||||
}
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
Reference in New Issue
Block a user