step 3 custom text field search
This commit is contained in:
@@ -299,6 +299,24 @@ License: You must have a valid license purchased only from themeforest(the above
|
||||
class="form-control bg-field border-0"
|
||||
placeholder="Kode ..."
|
||||
/>
|
||||
|
||||
<div>
|
||||
<div id="alert"></div>
|
||||
<button hx-get="/info"
|
||||
hx-select="#info-details"
|
||||
hx-swap="outerHTML"
|
||||
hx-select-oob="#alert">
|
||||
Get Info!
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||
<strong>Holy guacamole!</strong> You should check in on some of those fields below.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- <span class="form-text text-muted"
|
||||
>We'll never share your email with anyone else.</span
|
||||
> -->
|
||||
|
||||
@@ -9,7 +9,6 @@ import (
|
||||
"github.com/emarifer/go-templ-project-structure/views/component/customtextfieldsearch"
|
||||
)
|
||||
|
||||
|
||||
templ MainNavbar(datamenu []services.MasterMenu) {
|
||||
<div class="aside-menu-wrapper flex-column-fluid" id="kt_aside_menu_wrapper">
|
||||
<!--begin::Menu Container-->
|
||||
@@ -193,11 +192,9 @@ templ MainMasterMenuUserGroup(datamenu []services.MasterMenu) {
|
||||
<div class="row">
|
||||
@breadcrumadmin.MainBreadcrumbAdmin()
|
||||
</div>
|
||||
|
||||
// EXAMPLE INPUTAN START
|
||||
// inputan biasa
|
||||
@customtextfield.MainCustomTextField("Kode", "Kode", "kode", "text")
|
||||
|
||||
// inputan dengan search
|
||||
@customtextfieldsearch.MainCustomTextFieldSearch("cariNama", "Cari PID / Nama", "search", "/search", "input changed delay:500ms, search", "#search-results", ".htmx-indicator")
|
||||
// EXAMPLE INPUTAN END
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user