Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
86 views

I’m migrating my forms in a Next.js 15 project from native form handling to Formik, and I want to reuse my custom form components (InputField, Dropdown, TextArea, etc.). Here is my current InputField ...
Shivam Parmar's user avatar
0 votes
0 answers
37 views

I have an InvoiceTable component and a custom editable invoice field. I am using Formik, and I am calculating an initialSortedData before Formik is initialized. Once Formik is initialized, all data, ...
Usman Khalid Mian's user avatar
0 votes
0 answers
48 views

I have tried with children method and with component method, but in both cases onChange={field.onChange} or {...field} doesnt update the field on input. <Field name={"otp"} component={...
Sourabrata Bose's user avatar
0 votes
0 answers
16 views

I was trying to make edit request to BE(Back End) and I don't have to give not edited values to the BE. const handleEdit = async (values: typeof initials) => { --------------------------------...
Husanboy Zafarov's user avatar
0 votes
0 answers
53 views

I'm currently using a Formik Form in which my Field is built with a Select component from react-select. I've got something like this: <Formik initialValues=[...]} onSubmit={onSubmit}...
asimon's user avatar
  • 1
0 votes
0 answers
95 views

I am trying to submit the form values. I had defined the initial values and using the controlled input. When I am clicking on the Register button the onSubmit is not triggering. On clicking of the ...
Haider Abbas Abidi's user avatar
0 votes
0 answers
37 views

I need to build a form using react hook form where user can add multiple dates and a particular dates can have any number of events My form code is const { control, setValue, getValues } = useForm&...
Keshav Khetan's user avatar
1 vote
1 answer
46 views

I'm having a problem with the DateTimePicker being inside a SidePanel in my project. It resets itself when trying to type in a value. (While creating the sandbox, it worked ONCE outside the SidePanel ...
Ven's user avatar
  • 141
2 votes
1 answer
88 views

I’m encountering an issue with a save button in my form. I have a SaveButton component that is supposed to trigger a form submission when clicked. The button is linked to Formik’s submitForm function, ...
JustAProgrammer's user avatar
0 votes
1 answer
86 views

Formik not submit the form when click at submit button. The handleSubmit() isn't being called, nether putting a console.log() or alert() directly at onSubmit. I am using PrimeReact 10.8.3, React 18.3....
Vitor Hugo's user avatar
1 vote
1 answer
338 views

I have React application with formik and yup for building forms. I need create form with list of inputs, with codes and there must be async validations for API, which will confirm if the code exists. ...
Jenan's user avatar
  • 3,350
0 votes
1 answer
82 views

I am trying to use React Hook Form to setup a custom input field and thus use the useForm hook as below; const { control, handleSubmit, register, formState, ...
copenndthagen's user avatar
1 vote
0 answers
59 views

I’m integrating react-number-format into a Formik form for handling numeric inputs with formatting (e.g., decimal points and thousands separators). However, after integrating react-number-format, my ...
Chuks's user avatar
  • 69
0 votes
1 answer
340 views

My problem is I add validation schema on my formik form but the required() validation does not work if I put default("mmm") value <Formik initialValues={validtionShema.cast()} ...
Maram Alsalem's user avatar
2 votes
1 answer
60 views

I have a problem requiring the account_id field when mode_of_payment has a value. My code below still doesn't make the account_id required when mode_of_payment has been filled out. mode_of_payment isn'...
Joseph's user avatar
  • 7,875
0 votes
1 answer
43 views

I am working on react-native application. Like all JS frameworks, I have installed the packages such as formik, react-native-calendars here also. And it is visible in package.json. And also I have ...
Rooban's user avatar
  • 197
1 vote
0 answers
27 views

In a React application using Formik, I have a nested object structure representing hardware parts within a form. export const formValues = { client: { firstName: '', lastName: '', email: ...
Steve Gaita's user avatar
0 votes
2 answers
97 views

I'm fairly new to Formik and Yup. I'm confused on why the selectedJobType is being typed as an array in my conditional for the languages validation. jobType is a string from a select box, so I would ...
Chip's user avatar
  • 337
0 votes
1 answer
29 views

features/productSlice.js export const resetState = createAction("Reset_all") const initialState = { products: [], product: {}, productImages: [], isError: false, ...
MERN Stack Developer's user avatar
1 vote
1 answer
240 views

I make a stepper formik form and the objective is yup should validate each step of the form. this is my validation schema: const schema = [ yup .object() .shape({ field1: yup.string().required(...
Olland Timisela's user avatar
0 votes
1 answer
109 views

I am using Formik and Yup in my React Typescript project , I have a modal that will save a new value , I added Formik Validation to the Fields in my modal but when I click the add button in my page to ...
Edi-nano's user avatar
0 votes
1 answer
87 views

Reference Image to Code Error Statement Hi Im trying to create a Login page for an IOS app using React Native. Was following online guides and used Formik for validation. However, I ran into an issue ...
wang hao zhen's user avatar
0 votes
1 answer
254 views

I'm trying to dynamically add some input fields based on the number on one field setNoOfVessels, I'm trying to use the FieldArray component from Formik to achieve this: const validationSchema = ...
buzz's user avatar
  • 312
2 votes
1 answer
77 views

I'm using React, MUI and Formik. I have a table and how do I allow that only one radio would be selected by row? This is my codesandbox: CLICK HERE import { TableCell, TableRow, Radio } from "@...
Joseph's user avatar
  • 7,875
1 vote
2 answers
982 views

I'm working with a custom React component that wraps an Office UI Fabric TextField within a Formik form. Despite following typical patterns for handling input fields with React and Formik, I'm ...
Himasha's user avatar
  • 75

1
2 3 4 5
57