Skip to content

Fix: Out-of-hours behaviour dropdown#101

Merged
BenHall-1 merged 1 commit intomasterfrom
fix-out-of-hours-behaviour-dropdown
Mar 8, 2026
Merged

Fix: Out-of-hours behaviour dropdown#101
BenHall-1 merged 1 commit intomasterfrom
fix-out-of-hours-behaviour-dropdown

Conversation

@biast12
Copy link
Copy Markdown
Contributor

@biast12 biast12 commented Mar 7, 2026

Description

This pull request introduces a minor update to the SupportHoursForm.svelte component. The change ensures that any selection change in the "Out-of-hours behaviour" dropdown triggers the emitChange event handler, allowing the parent component to react to user input.

Type of Change

  • Bug fix
  • New feature
  • Breaking change

Testing

Turn on Support Hours on a panel and save the panel
Edit the panel again and select a different Out-of-hours behaviour in the dropdown

Call emitChange when the "Out-of-hours behaviour" Dropdown changes so updates are propagated. Adds an on:change={emitChange} handler to the Dropdown in SupportHoursForm.svelte to ensure form change events are emitted.
@biast12 biast12 requested a review from a team as a code owner March 7, 2026 21:49
@biast12 biast12 changed the title Emit change on out-of-hours dropdown Fix: Emit change on out-of-hours dropdown Mar 7, 2026
@biast12 biast12 changed the title Fix: Emit change on out-of-hours dropdown Fix: Out-of-hours behaviour dropdown Mar 7, 2026
@BenHall-1 BenHall-1 merged commit b23f616 into master Mar 8, 2026
1 check passed
@BenHall-1 BenHall-1 deleted the fix-out-of-hours-behaviour-dropdown branch March 8, 2026 18:41
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.

2 participants