Skip to content

Commit

Permalink
fix(BinForm): map, unique 'key'
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed Aug 13, 2024
1 parent ea21e2a commit ab49a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/forms/src/components/form/BindForm.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ export interface Props {
key?: string
}
const { lastRender: parantLastRender, key = '', bindId: parantbindId = '' } = getContext(Astro, '@astro-utils/forms');
const { lastRender: parantLastRender, bindId: parantbindId = '' } = getContext(Astro, '@astro-utils/forms');
if (parantLastRender === false) {
return;
}
const { bind = Bind(), defaultSubmitClick } = Astro.props;
const { bind = Bind(), defaultSubmitClick, key = '' } = Astro.props;
const context = {
executeAfter: [],
Expand Down

0 comments on commit ab49a83

Please sign in to comment.