mirror of
https://github.com/frappe/books.git
synced 2025-02-11 00:18:45 +00:00
Password control
This commit is contained in:
parent
7577a2d0e5
commit
999cb583f3
18
src/components/controls/Password.vue
Normal file
18
src/components/controls/Password.vue
Normal file
@ -0,0 +1,18 @@
|
||||
<script>
|
||||
import Base from "./Base";
|
||||
|
||||
export default {
|
||||
name: "Password",
|
||||
extends: Base,
|
||||
methods: {
|
||||
getInputAttrs() {
|
||||
return {
|
||||
id: this.id,
|
||||
type: 'password',
|
||||
value: this.value,
|
||||
required: this.docfield.required
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
x
Reference in New Issue
Block a user