mirror of
https://github.com/penpot/penpot.git
synced 2026-11-23 19:00:36 +00:00
🐛 Start the rename group dialog from the group's current name
Renaming an assets group opened the dialog with an empty name: the initial form data set `:asset-name`, while the form field is `:name`. Found by the components Qase run (PENPOT-1285). Checked in the browser: Rename group shows the current name. AI-assisted-by: claude-opus-5-5
This commit is contained in:
parent
047f8ae4e1
commit
604998a716
@ -136,7 +136,7 @@
|
||||
[{:keys [path last-path accept] :as ctx
|
||||
:or {path "" last-path ""}}]
|
||||
(let [initial (mf/with-memo [last-path]
|
||||
{:asset-name last-path})
|
||||
{:name last-path})
|
||||
form (fm/use-form :schema schema:group-form
|
||||
:initial initial)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user