apostrophecms / apostrophecms/apostrophe

[apostrophe-schemas] Date field is currently bubbling up a change event on initialization, causing the unsavedChanges field to be true before actually editing a form.

Open
#556 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
4.6k
Forks
650
Avg merge
19h 21m
Merged PRs (30d)
23

Description

This creates some false positive 'Discard your changes' confirm dialogs. The change events during initialization should not propagate up.

Contributor guide

Open the contributing guide

Research direction

Start at the apostrophe-schemas Date field initialization and trace how its change event reaches unsavedChanges. Reproduce form initialization without editing, then verify that initialization no longer propagates a change event or triggers a false “Discard your changes” dialog.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.