form belum fix
This commit is contained in:
8
components/Form/Lib/master/Email.vue
Normal file
8
components/Form/Lib/master/Email.vue
Normal file
@@ -0,0 +1,8 @@
|
||||
<template>
|
||||
<TextElement
|
||||
name="email"
|
||||
input-type="email"
|
||||
:rules="['nullable', 'email']"
|
||||
label="Email"
|
||||
/>
|
||||
</template>
|
||||
3
components/Form/Lib/master/Name.vue
Normal file
3
components/Form/Lib/master/Name.vue
Normal file
@@ -0,0 +1,3 @@
|
||||
<template>
|
||||
<TextElement name="username" label="Nama" />
|
||||
</template>
|
||||
3
components/Form/Lib/master/Password.vue
Normal file
3
components/Form/Lib/master/Password.vue
Normal file
@@ -0,0 +1,3 @@
|
||||
<template>
|
||||
<TextElement name="password" input-type="password" label="Password" />
|
||||
</template>
|
||||
24
components/Form/Lib/master/Role.vue
Normal file
24
components/Form/Lib/master/Role.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<SelectElement
|
||||
name="role"
|
||||
:search="true"
|
||||
:native="false"
|
||||
input-type="search"
|
||||
autocomplete="off"
|
||||
label="Hak Akses"
|
||||
:items="[
|
||||
{
|
||||
value: 0,
|
||||
label: 'Administrator',
|
||||
},
|
||||
{
|
||||
value: '1',
|
||||
label: 'Manager',
|
||||
},
|
||||
{
|
||||
value: '2',
|
||||
label: 'Staff',
|
||||
},
|
||||
]"
|
||||
/>
|
||||
</template>
|
||||
Reference in New Issue
Block a user