fix: maplibre reactive signal bugs and stale signal re-push (#3)
Some checks failed
CI / Build and Test (push) Failing after 36s
Some checks failed
CI / Build and Test (push) Failing after 36s
This commit was merged in pull request #3.
This commit is contained in:
4
field.go
4
field.go
@@ -1,10 +1,10 @@
|
||||
package via
|
||||
|
||||
// Field is a signal with built-in validation rules and error state.
|
||||
// It embeds *signal, so all signal methods (Bind, String, Int, Bool, SetValue, Text, ID)
|
||||
// It embeds *Signal, so all signal methods (Bind, String, Int, Bool, SetValue, Text, ID)
|
||||
// work transparently.
|
||||
type Field struct {
|
||||
*signal
|
||||
*Signal
|
||||
rules []Rule
|
||||
errors []string
|
||||
initialVal any
|
||||
|
||||
Reference in New Issue
Block a user