Hi,@David Thielen,
As the document mentioned:
Component parameters permit binding properties of a parent component with
@bind-{PROPERTY}
syntax, where the{PROPERTY}
placeholder is the property to bind.
....
By convention, the EventCallback<TValue> for the parameter must be named as the component parameter name with a "
Changed
" suffix. The naming syntax is{PARAMETER NAME}Changed
, where the{PARAMETER NAME}
placeholder is the parameter name
......
<ChildBind @bind-Year="year" />
is equivalent to writing:<ChildBind @bind-Year="year" @bind-Year:event="YearChanged" />
In your case, you called @bind-Value
,so a parameter named ValueChanged
type of EventCallback
is required
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
RuikaiFeng