Update various configuration files, components, and assets; enhance notification system and API endpoints; improve documentation and styles across the application.
This commit is contained in:
23
components/formkit/TextMask.vue
Normal file
23
components/formkit/TextMask.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<script setup>
|
||||
/* eslint-disable */
|
||||
const props = defineProps({
|
||||
context: Object,
|
||||
});
|
||||
|
||||
const mask = String(props.context.mask);
|
||||
// console.log(props.context);
|
||||
|
||||
function handleInput(e) {
|
||||
props.context.node.input(e.target.value);
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<input
|
||||
@input="handleInput"
|
||||
:class="context.classes.input"
|
||||
:value="props.context._value"
|
||||
:placeholder="props.context.attrs.placeholder"
|
||||
v-maska="mask"
|
||||
/>
|
||||
</template>
|
||||
Reference in New Issue
Block a user