go-admin
go-admin copied to clipboard
[Question]Updated_at not updated
why column updated_at not updated when i submit form?
why column updated_at not updated when i submit form?
work around like below:
formList.SetPreProcessFn(func(values form2.Values) form2.Values {
values.Add("updated_at", time.Now().Format(time.RFC3339))
return values
})
why column updated_at not updated when i submit form?
work around like below:
formList.SetPreProcessFn(func(values form2.Values) form2.Values { values.Add("updated_at", time.Now().Format(time.RFC3339)) return values })
What should I do with created_at
?