When a course is cloned, the default value for an absint field on the course is 0. However this is below the minimum value for the Enable Lesson Drip course-level settings, which blocks save. Instead, when a Number meta box field is rendered, output nothing or empty string if the value is below the minimum for the field.
Description
When a course is cloned, the default value for an
absint
field on the course is0
. However this is below the minimum value for the Enable Lesson Drip course-level settings, which blocks save. Instead, when a Number meta box field is rendered, output nothing or empty string if the value is below the minimum for the field.Fixes #2649
How has this been tested?
Manually
Checklist:
npm run dev changelog add -- -i
and follow the prompt. See also: https://github.com/gocodebox/lifterlms/blob/trunk/packages/dev/README.md#changelog-add -->