I need 2 input fields, and they can be of two types, date or text, depending of dinamic variables
I am trying to use this when I have the info of the type of field that I need
define(“view”, “datepicker”) won’t work. You need to rebuild layout. However, I would advise to create both views and use hide() / show() methods to switch between views.