Skip to content

Commit

Permalink
max and min value
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatemeh Moghadam committed May 3, 2018
1 parent 3a44835 commit fff7642
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 fff7642

Please sign in to comment.