We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 424120a commit f8e2b7eCopy full SHA for f8e2b7e
client/src/app/pages/controls/tags/components/tag-category-form.tsx
@@ -189,7 +189,12 @@ export const TagCategoryForm: React.FC<TagCategoryFormProps> = ({
189
onMinus={() => {
190
onChange((value || 0) - 1);
191
}}
192
- onChange={() => onChange}
+ onChange={(event) => {
193
+ const target = event?.target as HTMLInputElement;
194
+ if (target) {
195
+ onChange(target.valueAsNumber);
196
+ }
197
+ }}
198
onPlus={() => {
199
onChange((value || 0) + 1);
200
0 commit comments