@@ -62,7 +62,7 @@ protected MudBaseInputExtended()
6262 /// handled. This can be useful for intercepting or modifying input behavior in advanced scenarios
6363 /// </remarks>
6464 [ Parameter ]
65- public EventCallback < MudBeforeInputEventArgs > OnBeforeInput { get ; set ; }
65+ public EventCallback < BeforeInputEventArgs > OnBeforeInput { get ; set ; }
6666
6767 /// <summary>
6868 /// Gets or sets a value indicating whether the component has an adornment at the start.
@@ -109,7 +109,7 @@ protected MudBaseInputExtended()
109109 /// </summary>
110110 /// <param name="args">The event data associated with the before input operation.</param>
111111 /// <returns>A task that represents the asynchronous operation.</returns>
112- protected async Task InvokeBeforeInputAsync ( MudBeforeInputEventArgs args )
112+ protected async Task InvokeBeforeInputAsync ( BeforeInputEventArgs args )
113113 {
114114 _isFocused = true ;
115115 await OnBeforeInputAsync ( args ) ;
@@ -151,9 +151,9 @@ protected override async Task OnConverterChangedAsync()
151151 /// <param name="dto"></param>
152152 /// <returns></returns>
153153 [ JSInvokable ( "OnBeforeInput" ) ]
154- public async Task < bool > OnBeforeInputFromJs ( MudBeforeInputJsDto dto )
154+ public async Task < bool > OnBeforeInputFromJs ( BeforeInputJsDto dto )
155155 {
156- var args = new MudBeforeInputEventArgs
156+ var args = new BeforeInputEventArgs
157157 {
158158 Data = dto . Data ,
159159 InputType = dto . InputType ?? string . Empty ,
@@ -172,7 +172,7 @@ public async Task<bool> OnBeforeInputFromJs(MudBeforeInputJsDto dto)
172172 /// occurs.</remarks>
173173 /// <param name="args">An object containing event data for the input operation.</param>
174174 /// <returns>A task that represents the asynchronous operation. The default implementation returns a completed task.</returns>
175- protected virtual Task OnBeforeInputAsync ( MudBeforeInputEventArgs args ) => Task . CompletedTask ;
175+ protected virtual Task OnBeforeInputAsync ( BeforeInputEventArgs args ) => Task . CompletedTask ;
176176
177177
178178 }
0 commit comments