auto-complete.go 873 B

123456789101112131415161718192021222324
  1. package basics
  2. import (
  3. "github.com/qor5/docs/docsrc/examples/e10_vuetify_autocomplete"
  4. "github.com/qor5/docs/docsrc/generated"
  5. "github.com/qor5/docs/docsrc/utils"
  6. . "github.com/theplant/docgo"
  7. "github.com/theplant/docgo/ch"
  8. )
  9. var AutoComplete = Doc(
  10. Markdown(`
  11. AutoComplete is a more advanced component that vuetify provides, We extend it
  12. So that it can fetch remote options from an event func. here we show these examples:
  13. - An auto complete that you can select multiple with static data
  14. - An auto complete that you can select multiple with remote fetched dynamic data
  15. - A static normal select component
  16. `),
  17. ch.Code(generated.VuetifyAutoCompleteSample).Language("go"),
  18. utils.Demo("Vuetify AutoComplete", e10_vuetify_autocomplete.VuetifyAutoCompletePath, "e10_vuetify_autocomplete/page.go"),
  19. ).Title("Auto Complete").
  20. Slug("vuetify-components/auto-complete")