Has anyone managed to extend <@UR8E3RC8M>'s <NetSu...
# suitescript
d
Has anyone managed to extend @netsuite_insights's NetSuite Input Dialog to include a date-picker? On a related note, which method param object is better practice in your opinion?
b
choose the second option if you want to be consistent with the serverWidget module
d
thanks battk, good point
n
While option 2 might seem attractive, it is limiting. What would happen if you need both a date picker and a text area in the same dialog? With that in mind, I'll suggest option 1. To your original question, I think it will be pretty straightforward to add a date picker. I'm a bit conflicted at this point: Extend the input dialog to support more widgets + risk it breaking as NS changes their UI or simply use existing JS libraries like swal2 which I tried the other day and was quite impressed... If you do the extension, please contribute back to the git repo via merge request