@omi18
If you are in a Gallery and want only to show one textbox in that row when you click the icon, then you will need to implement a way to "remember" what row is "on".
This is a good place for a collection! Something similar to this will give you what you want.
OnSelect action of your Icon:
If(IsBlank(Lookup(colPins, ID=ThisItem.ID, ID)),
Collect(colPins, {ID:ThisItem.ID}),
RemoveIf(colPins, ID=ThisItem.ID)
)
For the DisplayMode of your TextBox:
If(ThisItem.ID in colPins.ID, Edit, View)
This will give you the option to have multiple textboxes open to edit and when not selected, they will be in View mode only.
I hope this is helpful for you.