tomusborne / generateblocks

GenerateBlocks is a small collection of lightweight WordPress blocks that can accomplish nearly anything.
https://generateblocks.com
198 stars 23 forks source link

Dynamic Tag - Key field submit button should be contextual Add / Update #1458

Closed diggeddy closed 2 weeks ago

diggeddy commented 2 weeks ago

Description

When editing an existing Dynamic Tag Meta Key, the submit button should read update. The button should also be enabled for any edits. Currently it only updates if there is an addition made but not a deletion.

https://github.com/user-attachments/assets/dcdf969c-f203-4dfc-9e65-760acace248c

iansvo commented 2 weeks ago

@diggeddy I'm unable to replicate this in the latest version. I believe I fixed this as part of the alpha 2 stuff as part of another PR.

diggeddy commented 2 weeks ago

@iansvo What about the button label ? It always reads add even when you're making an edit