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
Looks like I had a type error in getInputProps as type: 'radio' is not recognized.
Could fix it by changing in type.d.ts by adding 'radio' type => export type GetInputPropsType = 'input' | 'checkbox' | 'radio';
Hope this could be fixed in new release or help anyone else struggling with TS :-)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone !
I added this code in a form:
{...formPage.getInputProps('isPrivate', { type: 'radio' })}
Looks like I had a type error in getInputProps as type: 'radio' is not recognized.
Could fix it by changing in type.d.ts by adding 'radio' type => export type GetInputPropsType = 'input' | 'checkbox' | 'radio';
Hope this could be fixed in new release or help anyone else struggling with TS :-)
Beta Was this translation helpful? Give feedback.
All reactions