showonne / vue-date

A datepicker component for Vue.js
https://showonne.github.io/vue-date/
MIT License
156 stars 65 forks source link

Giving the datepicker name attribute #10

Closed lamkasmourad closed 6 years ago

lamkasmourad commented 7 years ago

i can't pass data to my controller even i'm using the attribute name !

showonne commented 7 years ago

I don't know what do you mean. Register name in components

<script>
import datepicker from 'vue-date'
export default {
  components: {
    'name': datepicker
  }
}
</script>
lamkasmourad commented 7 years ago

i mean the name attribute like in this example: <datepicker name="mail_date" :range="true" ></datepicker>

showonne commented 6 years ago

What function do you want ?