mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-05 13:33:00 +00: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:
parent
a5a985fd00
commit
4047bf6943
1 changed files with 1 additions and 1 deletions
|
|
@ -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') }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue