mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 13:17:24 +01:00
Rewards permit decimal value. Fixes https://github.com/HabitRPG/habitica/issues/9513 (#9617)
* testing additional event trigger for sendMessage * moved keyup event to newmessage * added keyup event to tavern vue too * removed number.toFixed, changed to placeholder and step
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
.task-modal-content
|
||||
.option(v-if="task.type === 'reward'")
|
||||
label(v-once) {{ $t('cost') }}
|
||||
input(type="number", v-model="task.value", required, min="0")
|
||||
input(type="number", v-model="task.value", required, placeholder="1.0", step="0.01", min="0")
|
||||
.svg-icon.gold(v-html="icons.gold")
|
||||
.option(v-if="checklistEnabled")
|
||||
label(v-once) {{ $t('checklist') }}
|
||||
|
||||
Reference in New Issue
Block a user