Skip to content

fix(upstream): apply port min/max constraints to node InputNumber#3404

Closed
okaybase wants to merge 3 commits into
apache:masterfrom
okaybase:upstream-node-port-constraint
Closed

fix(upstream): apply port min/max constraints to node InputNumber#3404
okaybase wants to merge 3 commits into
apache:masterfrom
okaybase:upstream-node-port-constraint

Conversation

@okaybase

@okaybase okaybase commented Jun 5, 2026

Copy link
Copy Markdown
Member

Why submit this pull request?
When adding a node in the upstream form, the port InputNumber did not respect the schema's min: 1 constraint — the decrement arrow remained active at port value 1, allowing users to step down to 0. The increment arrow also had no max bound from lte(65535).

  • Bugfix

What changes will this PR take into?
apply port min/max constraints to node InputNumber, decrement arrow disabled at port = 1, increment arrow disabled at port = 65535

Checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@okaybase okaybase closed this Jun 5, 2026
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.

1 participant