How to set the date picker's default date to the current date in Appsmith?
Setting the date picker's default date to the current date in appsmith is very simple.
Simply follow these easy steps :
1. Select the date picker.
2. At right sidebar of the screen, set the default date to `JS` then use the value:
Simply follow these easy steps :
1. Select the date picker.
2. At right sidebar of the screen, set the default date to `JS` then use the value:
{{moment()}}
The date picker's default date should now always be the current date. :)
Comments
Post a Comment