generated from corrad-software/corrad-af-2024
24 lines
445 B
Vue
24 lines
445 B
Vue
<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>
|