You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I go about modifying the post form, let's say to include a Date Picker element. I have tried adding something like this to the posts.coffee file postDate: type: Date autoform: afFieldInput: type: 'Date'
How do I go about modifying the post form, let's say to include a Date Picker element. I have tried adding something like this to the posts.coffee file
postDate: type: Date autoform: afFieldInput: type: 'Date'
I then modified the dashboard.html file :
<div class="panel-body"> {{#autoForm id="add" collection="Posts" type="insert"}} {{> afQuickField name="title"}} {{> afQuickField name="content"}} {{> afQuickField name="postDate"}} <!-- {{> afQuickField name="picture"}} --> {{> afQuickField name="picture"}} <!-- {{> afFileUpload name="picture" collection="Attachments"}} --> <button type="submit" class="btn btn-primary">Add Post</button> {{/autoForm}} </div>
The text was updated successfully, but these errors were encountered: