Skip to content

fix(settings): bind the dialog's renamed open model - #287

Merged
siduck merged 1 commit into
frappe:developfrom
sadiqxansari:fix/settings-dialog-open
Aug 14, 2026
Merged

fix(settings): bind the dialog's renamed open model#287
siduck merged 1 commit into
frappe:developfrom
sadiqxansari:fix/settings-dialog-open

Conversation

@sadiqxansari

@sadiqxansari sadiqxansari commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Desktop settings doesn't open on develop. Clicking My profile (or any settings entry) does nothing — no dialog, no error in the console.

frappe-ui's SettingsDialog renamed its open state to a named model in v1.0.0-beta.52:

beta.51 defineModel<boolean>({ default: false }) — plain modelValue
beta.52+ defineModel<boolean>('open', …)

#285 moved this app from beta.24 to beta.53 and crossed that rename. SettingsModal.vue still binds a bare v-model, which now writes to a prop nothing reads. Vue doesn't warn on an unknown model, so it fails silently.

One line: v-modelv-model:open.

Dialog keeps modelValue as a legacy binding, so the ~15 <Dialog v-model="open"> call sites elsewhere are unaffected — SettingsDialog is the only component in the family that dropped the alias, and it's used once.

frappe-ui's SettingsDialog declares its open state as a named model
(`defineModel('open')`) and no longer accepts a bare `modelValue`. The
rename landed in v1.0.0-beta.52; frappe#285 moved this app from beta.24 to
beta.53 and crossed it.

A bare `v-model` therefore writes to a prop nothing reads, and Vue does
not warn — so desktop settings simply stops opening. Bind the model it
actually declares.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge.

The named open binding matches the installed SettingsDialog API and restores two-way desktop dialog visibility.

Reviews (1): Last reviewed commit: "fix(settings): bind the dialog's renamed..." | Re-trigger Greptile

@siduck
siduck merged commit b6c8d61 into frappe:develop Aug 14, 2026
4 of 5 checks passed
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