Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Use Section method
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfmin committed Jun 3, 2024
1 parent 55ced2c commit 149cd36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docsrc/examples/examples_presets/detailing_inline_edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func PresetsDetailInlineEditFieldSections(b *presets.Builder, db *gorm.DB) (

cust = b.Model(&Customer{})
dp = cust.Detailing("Details").Drawer(true)
sb := dp.Field("Details").
sb := dp.Section("Details").
Editing(&presets.FieldsSection{
Title: "Hello",
Rows: [][]string{
Expand Down

0 comments on commit 149cd36

Please sign in to comment.