Create the new Flatpickr instance object according given Mode
ID of the Pattern that a new instance will be created.
Date picker mode (single or range)
Configurations for the Pattern in JSON format.
Create the new Flatpickr instance object according given Mode