update templui components
This commit is contained in:
parent
d223d76401
commit
78047c7ee8
52 changed files with 162 additions and 123 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// templui component selectbox - version: v0.101.0 installed by templui v0.101.0
|
||||
// templui component selectbox - version: v1.2.0 installed by templui v1.2.0
|
||||
// 📚 Documentation: https://templui.io/docs/components/select-box
|
||||
package selectbox
|
||||
|
||||
|
|
@ -156,6 +156,7 @@ templ Trigger(props ...TriggerProps) {
|
|||
if p.Form != "" {
|
||||
form={ p.Form }
|
||||
}
|
||||
data-tui-selectbox-hidden-input
|
||||
{ p.Attributes... }
|
||||
/>
|
||||
{ children... }
|
||||
|
|
@ -321,5 +322,5 @@ templ Item(props ...ItemProps) {
|
|||
}
|
||||
|
||||
templ Script() {
|
||||
<script defer nonce={ templ.GetNonce(ctx) } src={ "/assets/js/selectbox.min.js?v=" + utils.ScriptVersion }></script>
|
||||
<script defer nonce={ templ.GetNonce(ctx) } src={ utils.ScriptURL("/assets/js/selectbox.min.js") }></script>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue