Topic: MDBVUE 4 Datepicker
softpyramid premium asked 6 months ago
I'm using MDBVue 4 PRO (NOT version 5) and I wasn't able to find the code in the documentation to replicate the Basic example shown on this page.
I'm using the single line input fields and need to match that for the date. I also like the ability to click anywhere in the field and activate the popup date-picker without having to find and click on an icon on the far right.
Can anyone supply the code to do this?
Also if there's anyway to insert the date when the date is clicked on without having to hit OK that would be great!
<mdb-date-picker v-model="sign_date" icon="calendar" label="Select a Signature Date" required data-date-format="mm/dd/yy" :todayButton="true"></mdb-date-picker>
In this example everything works EXCEPT the required property doesn't throw the error icon if left empty in the way that other MDB Input fields do.
Is this a bug or a change in the way the required property is implemented for this component?
This is what I already have and does not do any of what I asked so I will repeat the question a different way:
On this page https://mdbootstrap.com/previews/templates/vue/#/forms/pro/datepicker/on the BASIC example
1) I want the single line material design field - not the 4 sided field design in the example you provided.2) I also want to be able to click anywhere on the field as seen here and popup the calendar. IN the example you provided I have to click on the date icon which is not the typical expectation of someone completing the date field.
The BASIC example shown in the link provided does these things and I'm asking if you could please provide the full source code for that example including any style/script components necessary. Thank you
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Premium
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: MDB5 1.13.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes