Skip to content
Snippets Groups Projects
Commit 252aef46 authored by Remi Lazarini's avatar Remi Lazarini Committed by Loïc Correnson
Browse files

[ivette] fix : return reset on useServerFiel

parent cac8f820
No related branches found
No related tags found
No related merge requests found
...@@ -332,6 +332,7 @@ export function useServerField<A>( ...@@ -332,6 +332,7 @@ export function useServerField<A>(
return { return {
value: localValue ?? defaultValue, value: localValue ?? defaultValue,
error: localError, error: localError,
reset: value,
onChanged: update onChanged: update
}; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment