Skip to content

feat(Button, StringSelect): Add options to change custom_id and values#121

Open
qelli wants to merge 1 commit intoStartITBot:masterfrom
qelli:feat/add-change-custom-id-btn
Open

feat(Button, StringSelect): Add options to change custom_id and values#121
qelli wants to merge 1 commit intoStartITBot:masterfrom
qelli:feat/add-change-custom-id-btn

Conversation

@qelli
Copy link

@qelli qelli commented Jan 24, 2026

Hey,

Been using your app for a while now so this is some way of saying: thank you!
This PR includes:

  • Option to modify custom_id for Buttons
  • Option to modify custom_id for StringSelects
  • Option to modify value for options within a StringSelect

Changes in some key={} attributes were necessary because using custom_id & value as unique forced the component to re-render with the state updates made in onChange() (here) causing the text input to close instead of waiting for the Enter or ESC key press.

All the logic behind the Button was preserved as I'm aware of the incompatibility of custom_id + url.

I only speak two languages from the locales list, lmk if you want me to update any of them.

Closes #83

@qelli qelli changed the title feat(Button.tsx, StringSelect.tsx): add change custom_id and values feat(Button, StringSelect): Add options to change custom_id and values Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow custom_id Modification

1 participant