You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to override any fieldType, I get error on the line where onChange is called.
Error: Argument of type 'string' is not assignable to parameter of type 'NumberField'.
Type 'string' is not assignable to type '{ type: "number"; min?: number | undefined; max?: number | undefined; }'.ts(2345)
Overview
When I try to override any fieldType, I get error on the line where onChange is called.
Error: Argument of type 'string' is not assignable to parameter of type 'NumberField'.
Type 'string' is not assignable to type '{ type: "number"; min?: number | undefined; max?: number | undefined; }'.ts(2345)
Example code snippet
Expectations
onChange should accept type that is the Value of the field, instead it accepts the FieldType.
Potential problematic source code
Overrides.ts
The text was updated successfully, but these errors were encountered: