Add multiple columns and rows. #11173
Unanswered
LuigiCleffi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a form that has the following object:
One of the business rules is to append to the right only quantity and cost.
It is rows and columns, so when you type on any field it should create another row but the focus should not leave the field you were writing only create a new one.
I loads like:
What I am struggling with is creating only those two fields to the right and creating a new row only with option and cost, it is like quantity is the theader for that column.
I initially started doing it with a table but it was getting harder than it was supposed to. By the way, I am using react-hook-form with Zod and Material UI.
But if you want to help me out you can use HTML normal inputs and I'll manage to make it work.
Beta Was this translation helpful? Give feedback.
All reactions