Комментарии:
thank you so much
ОтветитьGoodJob!
Ответитьthank you. It helped me a lot
ОтветитьThanks!
Ответитьit is really really good job. thanks for it. the first number don't have remove button {index => 0
ОтветитьIncase you want to add validation to dynamic field.
// Add rules object..
const { fields, append, remove } = useFieldArray({
name: "phNumbers",
control,
rules: {
required: {
value: true,
message: "Phone number field is required.",
},
},
});
// Show error in span....
<span className="error">
{errors?.phNumbers?.[index]?.number?.message}
</span>
❤❤❤
ОтветитьHi Vishwas, thanks so much for the series I will ner never use React Hook Form before, only Formik, it seem very powerful!! 🔝
ОтветитьThank you, the video was so helpful! I know I am supposed to watch the official doc but I prefer your videos over the doc...
ОтветитьThank you very very much for such great lessons.
ОтветитьThis was super helpful. Thank you
Ответитьexcellent channel for react
ОтветитьGood quality content ❤
ОтветитьDear Sir , i always like to watch your lessons. I have a request to you if please possible make an example of REACT HOOK FORM edit/update FORM using same style. Thanks sir
ОтветитьHow would I use it with multiple items like a star rating comonent?
Ответитьthank you! It would be helpful to explain how to apply ant design in React Hook Form as well.
ОтветитьThe voice quality of the course is nice
ОтветитьAn example with checkboxes arraya please using registra función and Controller 🙏
ОтветитьI think the if statement should be checking if the count of phNumbers is greater than 1, so that all phone number fields will have a remove button, unless there is only 1.
ОтветитьHope there will be zod validation and working with date picker and range as well
ОтветитьThanku
ОтветитьThank you
Ответить