⬅︎ Back to How to have default/initial values in a Django form that is bound and rendered
Hey Peter, the behavior you implemented looks more like default than initial. You want to 1. Suggest a value for the user and 2. Select a value if the user did not provide it.
How do you implement `default`?
I don't know why I thought there was a `default` attribute. You're right.. ;)
Comment
Hey Peter, the behavior you implemented looks more like default than initial. You want to 1. Suggest a value for the user and 2. Select a value if the user did not provide it.
Replies
How do you implement `default`?
I don't know why I thought there was a `default` attribute. You're right.. ;)