Skip to content

Commit eb86c1b

Browse files
Added option.value as document element id in getOption (#379) (#380)
* Release version 3.1.5 with updates to CHANGELOG and package.json. Added `option.value` as document element id in `getOption` function for improved accessibility. * Fix version string formatting in package.json for release 3.1.5
2 parents b766139 + 8ee0f0c commit eb86c1b

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [[3.1.5](https://github.com/multiversx/mx-sdk-dapp-form/pull/380)] - 2025-11-27
11+
12+
- [Added `option.value` as document element id in `getOption`](https://github.com/multiversx/mx-sdk-dapp-form/pull/379)
13+
1014
## [[3.1.4](https://github.com/multiversx/mx-sdk-dapp-form/pull/378)] - 2025-11-24
1115

1216
- [Expose `onInputChange` event from `TokenSelect`](https://github.com/multiversx/mx-sdk-dapp-form/pull/377)

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@multiversx/sdk-dapp-form",
3-
"version": "3.1.4",
3+
"version": "3.1.5",
44
"description": "A library to hold the main logic for a validating a form for transactions on the MultiversX blockchain",
55
"author": "MultiversX",
66
"license": "GPL-3.0-or-later",
@@ -19,8 +19,8 @@
1919
"build": "rimraf dist && node esbuild.js && yarn build:esm-types && yarn build:cjs-types && cp package.json dist && cp README.md dist",
2020
"publish-package": "yarn test && yarn build && cd dist && npm publish",
2121
"publish-package-next": "yarn test && yarn test && yarn build && cd dist && npm publish --tag next",
22-
"unpublish-verdaccio": "npm unpublish @multiversx/sdk-dapp-form@2.0.4-alpha.0 --registry http://localhost:4873",
23-
"publish-verdaccio": "npm run unpublish-verdaccio && npm run build && cd dist && npm publish --registry http://localhost:4873/",
22+
"unpublish-verdaccio": "npm unpublish @multiversx/sdk-dapp-form --registry http://localhost:4873",
23+
"publish-verdaccio": "npm run build && cd dist && npm publish --registry http://localhost:4873/",
2424
"publish-yalc": "yarn build && cd dist && yalc publish --push",
2525
"watch": "yarn node esbuild-watch.js && yarn build:types -- --watch",
2626
"test": "jest",

src/UI/Fields/AmountSelect/components/TokenSelect/components/ReactSelectComponents/getOption.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const getOption =
5656
});
5757

5858
return (
59-
<div data-testid={`${(props as any).value}-option`}>
59+
<div data-testid={`${(props as any).value}-option`} id={option.value}>
6060
<components.Option
6161
{...props}
6262
className={classNames(styles.option, {

0 commit comments

Comments
 (0)