mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 13:17:24 +01:00
* Validate that everyX values are integers bounded by 0 and 9999 * Added client side check * Updated tests * Added migration for bad dailies Near idential to the other task migration. * fix(typo): camelCase function call
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
| {{ $t(frequency) }}
|
||||
.form-group
|
||||
label(v-once) {{ $t('repeatEvery') }}
|
||||
input(type="number", v-model="task.everyX", min="0", required, :disabled='challengeAccessRequired')
|
||||
input(type="number", v-model="task.everyX", min="0", max="9999", required, :disabled='challengeAccessRequired')
|
||||
| {{ repeatSuffix }}
|
||||
br
|
||||
template(v-if="task.frequency === 'weekly'")
|
||||
|
||||
Reference in New Issue
Block a user