Skip to content

Commit

Permalink
Merge pull request #289 from FatemehMoghadam/multibook
Browse files Browse the repository at this point in the history
max and min value
  • Loading branch information
scottp-dpaw committed May 3, 2018
2 parents ced43f7 + fff7642 commit 9e8417f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<td class="site"> {{c.name}} <span v-if="c.class"> - {{ classes[c.class] }}</span></td>
<td class="book"> {{ c.campsites.length }} available </td>
<td class="numBook">
<input type="number" name="campsite-type" class="form-control" v-model="c.selected_campsite_class" @change="updatePrices()">
<input type="number" min="1" v-bind:max="c.campsites.length" name="campsite-type" class="form-control" v-model="c.selected_campsite_class" @change="updatePrices()">
</td>
</tr></template>
</tbody>
Expand Down

0 comments on commit 9e8417f

Please sign in to comment.