mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
feat: secret component for passwords
This commit is contained in:
@@ -16,6 +16,7 @@ import Int from './Int.vue';
|
||||
import Link from './Link.vue';
|
||||
import Select from './Select.vue';
|
||||
import Text from './Text.vue';
|
||||
import Secret from './Secret.vue';
|
||||
|
||||
const components = {
|
||||
AttachImage,
|
||||
@@ -34,6 +35,7 @@ const components = {
|
||||
Attachment,
|
||||
Currency,
|
||||
Text,
|
||||
Secret,
|
||||
};
|
||||
|
||||
export default {
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<script lang="ts">
|
||||
import Base from './Base.vue';
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'Secret',
|
||||
extends: Base,
|
||||
computed: {
|
||||
inputType() {
|
||||
return 'password';
|
||||
},
|
||||
},
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user