aboutsummaryrefslogtreecommitdiff
path: root/src/tools/math-evaluator/math-evaluator.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/math-evaluator/math-evaluator.vue')
-rw-r--r--src/tools/math-evaluator/math-evaluator.vue10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/tools/math-evaluator/math-evaluator.vue b/src/tools/math-evaluator/math-evaluator.vue
index 25e5129..3144a66 100644
--- a/src/tools/math-evaluator/math-evaluator.vue
+++ b/src/tools/math-evaluator/math-evaluator.vue
@@ -10,16 +10,12 @@ const result = computed(() => withDefaultOnError(() => evaluate(expression.value
<template>
<div>
- <n-input
+ <c-input-text
v-model:value="expression"
rows="1"
- type="textarea"
+ multiline
placeholder="Your math expression (ex: 2*sqrt(6) )..."
- size="large"
- autocomplete="off"
- autocorrect="off"
- autocapitalize="off"
- spellcheck="false"
+ raw-text
/>
<c-card v-if="result !== ''" title="Result " mt-5>