Skip to content

Commit

Permalink
Fixed unique ID issue in SpaContentPlaceHolder
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasherceg committed Jun 4, 2022
1 parent 5455219 commit f0b12a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/Framework/Controls/DotvvmControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ protected void AddDotvvmUniqueIdAttribute()
{
throw new DotvvmControlException(this, "Postback.Update cannot be set on property which don't render html attributes.");
}
htmlAttributes.Attributes.Set("data-dotvvm-id", GetDotvvmUniqueId());
htmlAttributes.Attributes.Set("data-dotvvm-id", GetDotvvmUniqueId().UnwrapToObject());
}

protected struct RenderState
Expand Down

0 comments on commit f0b12a1

Please sign in to comment.