We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c2351f commit 7a51865Copy full SHA for 7a51865
javascript/frameworks/ui5/test/models/source-react/uncontrolledcomponent.tsx
@@ -5,7 +5,7 @@ import type { Ui5CustomEvent } from '@ui5/webcomponents-react-base';
5
function UncontrolledComponent({ props }) {
6
7
//direct event value access, no hook/react specific function
8
- const handleButtonPress = (event: Ui5CustomEvent<InputDomRef>) => {
+ const handleClick = (event: Ui5CustomEvent<InputDomRef>) => {
9
const finalValue = event.target.value; // SOURCE
10
console.log('Input finalized with value:', finalValue);
11
};
@@ -14,6 +14,7 @@ function UncontrolledComponent({ props }) {
14
<div>
15
<Input
16
placeholder="Enter some text"
17
+ onChange={handleClick}
18
/>
19
<Button>
20
Get Input Value
0 commit comments