Currently, the standalone date picker component cannot access the current record, which makes it difficult to set a default date that matches the record the user is viewing. Adding Magic Text support would solve this problem.
I agree.
Please enable Date Picker to operate against a field in collection when its not used inside a form element. Date Picker should be able map to a date field in a collection, like the standard input field component. It should be able to display the current date in the collection and if the user clicks on the date they then get the calendar drop down to select any new date.
Pretty standard functionality.
If I have it wrong or there is another component or way of doing this.. PLEASE let me know.
Also if we can stretch it. The date field should have more format settings or regex type syntax to be able to show the date the way the app needs to display it for example dd, mmm, yyyy or dd mmm or with different time expressions as well.
YES - for example I want to create a field for the users birthday and from their “edit profile” page be able to update this birthdate but see what it’s currently set to before they do. Ideally my default date in the field would be the data point “user birthday” from the user collection.
A very basic function for default date to be from a collection. Please add to your roadmap Adalo.
Definitely Needed
I need this function to control deadline.
Start of the contract date X and when I put the term of Y months… the end date comes out automatically.
important for many businesses
Need this, too.
I agree. This simple but yet lacking feature requires a lot of work around when you want to edit an excisting event for instance.
Josh JohnsonThank you so much! This will help so much!
I’m not sure how much additional development time it would require, but could you add Magic Text functionality to the standalone Dropdown component outside of the form component? For example, I am using Xano as my backend, and it would be great if I could add Magic Text to the dropdown in the same way it works for a text input field. I don’t need the default field mapped to a database table, just simple Magic Text functionality like that of the text input field.
The Date Picker Component can now pull its default date from the database! đź“… The Date Picker Component Can Now Pull its Default Date from Magic Text | Adalo Changelog