Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Repeater and datepicker

weblab free asked 1 year ago


We design a new website that we sell ferry tickets

We need a) Date range (do yu support this?) b) Restrict date From and To (Depending on each other selection) c) Repeater, for example when you say "Add new trip", adds a new row of Items for example (Destination - Date - Number of adults)

Thanks in advance

For example see the form in homepage here: https://www.ferryscanner.com/en/ferry


Mateusz Lazaru staff answered 1 year ago


We do not have such components, but all of our components are easily customizable and could be used in various ways.

Check my snippet:

https://mdbootstrap.com/snippets/standard/mlazaru/4907184#js-tab-view

This is an example of datepicker's usage to receive something similar to date range. It's options, such as min or max date, can be updated using datepicker.update().

In this case, the update() method is called every time another datepicker emits the dateChange.mdb.datepicker event.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 6.1.0
  • Device: Laptop
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: Yes
Tags