Write a generic TextField component that can be used on the application pages.Problem:
when clicking on the icon of a pencil
you need to do is input the active field, i.e. focus.Decision:
to hang the ref input on field ref to make each field unique.
But to me, this solution seems clumsy, maybe there are more concise methods?Working example: https://codesandbox.io/s/rrjvjy5qp4