-
Notifications
You must be signed in to change notification settings - Fork 78
Update calendar.md #445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update calendar.md #445
Conversation
added info re setting default date to current date
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
It should be made clear that what goes into the Default Date field is the word now for a default date of now. |
Is this not clear (from the proposed change):
|
I tried it out. The field expects a date and if you enter |
Ah, so what you put in the xml was Or were you just trying to set the date to the current date by typing "now" into the rendered form instead of pressing the "today" button. I didn't know that that worked but I've just tried it and it does. So the confusion is that it wasn't clear that this is about setting the default attribute in the xml so that if no date is entered it comes up with a particular date ( I'll add |
added clarification in response to comment
better Co-authored-by: Harald Leithner <[email protected]>
Avoid the words press and pressing (and click). Use select/selecting which are device agnostic. |
User description
added info re setting default date to current date
PR Type
Documentation
Description
Added documentation for setting default date in calendar field
Explained use of
default="now"
for current dateChanges walkthrough 📝
calendar.md
Add documentation for calendar field default date option
docs/general-concepts/forms-fields/standard-fields/calendar.md
default
option in calendar fielddefault="now"