diff --git a/.changeset/curvy-bugs-melt.md b/.changeset/curvy-bugs-melt.md new file mode 100644 index 0000000000..1d26f41a38 --- /dev/null +++ b/.changeset/curvy-bugs-melt.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/form": patch +--- + +``: the prop/callback `onChangeValue` is now called diff --git a/packages/form/src/components/TextInputFieldV2/index.tsx b/packages/form/src/components/TextInputFieldV2/index.tsx index 7afd497c20..39b36b2736 100644 --- a/packages/form/src/components/TextInputFieldV2/index.tsx +++ b/packages/form/src/components/TextInputFieldV2/index.tsx @@ -26,6 +26,7 @@ export const TextInputField = < className, tabIndex, onChange, + onChangeValue, placeholder, disabled = false, readOnly = false, @@ -114,6 +115,7 @@ export const TextInputField = < onChange={event => { field.onChange(event) onChange?.(event) + onChangeValue?.(event.target.value) }} onFocus={event => { onFocus?.(event)