diff options
author | Sebastian <sebasjm@gmail.com> | 2023-12-30 20:19:47 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-12-30 20:19:47 -0300 |
commit | 6dd7cfa1ecd3ab95e4ab50e144762e5dceb03328 (patch) | |
tree | ceea1abf8e4be909d15a9219748279c9a895e667 /packages/aml-backoffice-ui/src/handlers/InputChoiceHorizontal.tsx | |
parent | a37abd2472ac2d521e81838632050963157f00af (diff) | |
download | wallet-core-6dd7cfa1ecd3ab95e4ab50e144762e5dceb03328.tar.xz |
abs time
Diffstat (limited to 'packages/aml-backoffice-ui/src/handlers/InputChoiceHorizontal.tsx')
-rw-r--r-- | packages/aml-backoffice-ui/src/handlers/InputChoiceHorizontal.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/aml-backoffice-ui/src/handlers/InputChoiceHorizontal.tsx b/packages/aml-backoffice-ui/src/handlers/InputChoiceHorizontal.tsx index 312e014c5..594b1c32e 100644 --- a/packages/aml-backoffice-ui/src/handlers/InputChoiceHorizontal.tsx +++ b/packages/aml-backoffice-ui/src/handlers/InputChoiceHorizontal.tsx @@ -63,6 +63,7 @@ export function InputChoiceHorizontal<T extends object, K extends keyof T>( <button type="button" disabled={state.disabled} + label={choice.label} class={clazz} onClick={(e) => { onChange( @@ -70,9 +71,7 @@ export function InputChoiceHorizontal<T extends object, K extends keyof T>( ); }} > - {(!converter - ? (choice.value as string) - : converter?.toStringUI(choice.value)) ?? ""} + {choice.label} </button> ); })} |