feat: secret component for passwords

This commit is contained in:
akshayitzme
2025-05-30 15:58:08 +05:30
committed by AbleKSaju
parent b3dadb7761
commit 8cd410088e
2 changed files with 16 additions and 0 deletions
+2
View File
@@ -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 {
+14
View File
@@ -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>