Skip to content

ui: make Number and Range bindings type-preserving - #262

Open
linkdata wants to merge 3 commits into
mainfrom
issue-254-type-preserving-numbers
Open

ui: make Number and Range bindings type-preserving#262
linkdata wants to merge 3 commits into
mainfrom
issue-254-type-preserving-numbers

Conversation

@linkdata

@linkdata linkdata commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Closes #254.

Summary

  • preserve signed integers, unsigned integers, uintptr, float32, float64, and named numeric types end to end
  • add custom Number codecs and template bindings, with explicit editable-source tag validation and native read-only states
  • send settled Number edits on change with managed-event flushing and canonical reconciliation, while Range sends exact live updates and silently rejects unrepresentable browser values
  • remove the float64 adapter APIs and InputFloat, and update documentation plus the 32-bit CI coverage

Testing

  • JAWS_REQUIRE_NODE=1 go test -race ./...
  • JAWS_REQUIRE_NODE=1 go test ./...
  • go vet ./...
  • staticcheck ./...
  • golangci-lint run
  • gosec -quiet ./...
  • go build ./...
  • GOOS=linux GOARCH=386 CGO_ENABLED=0 go test -exec=true ./lib/bind/... ./lib/ui/...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ui: make Number and Range bindings type-preserving

1 participant