Skip to content

Fix validation not being recalculated in inbound fee policy fields#532

Merged
markettes merged 2 commits into
mainfrom
fix/validation-channel-fees
Jul 7, 2026
Merged

Fix validation not being recalculated in inbound fee policy fields#532
markettes merged 2 commits into
mainfrom
fix/validation-channel-fees

Conversation

@markettes

Copy link
Copy Markdown
Contributor

Improve the layout of validation components for inbound fee policy fields in Channels.razor.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts how inbound fee policy validation is composed in Channels.razor so that the validation for the two inbound fee policy fields is evaluated as a single unit, aligning with the validator’s cross-field logic.

Changes:

  • Wrapped both inbound fee policy inputs under a single Validation component using ValidateInboundFeePolicy.
  • Reorganized the markup so the validator encompasses both columns/fields, improving revalidation behavior for the paired inputs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Pages/Channels.razor
@markettes markettes merged commit e4b62c1 into main Jul 7, 2026
6 checks passed
@markettes markettes deleted the fix/validation-channel-fees branch July 7, 2026 10:52
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.

3 participants