Skip to content
Advertisement

I want to add two time limit conditions to the timepicker in Vuetify

What we want to achieve

Is it possible to add two conditions to allowd-minutes in Vuetify? I have already added a condition to not show the time before now, but I would like to add another condition, I would like to be able to select m minutes only every 15 minutes. Is there a good solution?

Code

JavaScript
JavaScript

What we tried

・I put the value currently being returned into a variable and divided by 15, but two conditions

Advertisement

Answer

If I understood you correctly try like in following snippet: (you can add second condition to first one)

JavaScript
JavaScript
Advertisement