Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fixed Invalid Exercise Bug

JayanthBonthaa4a1bcdccdcd
diff --git a/wger/utils/widgets.py b/wger/utils/widgets.py
index 9ce731563..9666239a7 100644
--- a/wger/utils/widgets.py
+++ b/wger/utils/widgets.py
@@ -116,7 +116,7 @@ class ExerciseAjaxSelect(SelectMultiple):
value = []
output = [
- '<div>', '<input type="text" id="exercise-search" class="form-control">', '</div>',
+ '<div>', '<input type="text" id="exercise-search" class="form-control" required>', '</div>',
'<div id="exercise-search-log">'
]