-
"form.score" size="mini" :min="0" :step="1" :max="Number(form.questionScore)" @input.native="changeInput($event)"> -
-
-
- changeInput(e) {
- if (e.target.value.indexOf(".") >= 0) {
- e.target.value = e.target.value.substring(
- 0,
- e.target.value.indexOf(".") + 2
- );
- }
- },