Vuepic / vue3-date-time-picker

Datepicker component for Vue 3
https://vue3datepicker.com
MIT License
158 stars 13 forks source link

Add field name attribute #80

Closed mohammedeisa closed 2 years ago

mohammedeisa commented 2 years ago

Is your feature request related to a problem? Please describe. I'm not able to set a name for the datetime picker.

I've checked the code, I think that the DatepickerInput.vue component is responsible for printing the input and its attributes. I don't see a name attribute in the field: <input ref="inputRef" :id="uid ? dp-input-${uid} : undefined" :class="inputClass" :placeholder="placeholder" :disabled="disabled" :readonly="readonly" :required="required" :value="inputValue" @input="handleInput" @keydown.enter="handleEnter" @keydown.tab="handleTab" @blur="handleBlur" @focus="handleFocus" />

Jasenkoo commented 2 years ago

Included in the v2.5.0

mohammedeisa commented 2 years ago

Thanks :)