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 3ca167d commit f75efeaCopy full SHA for f75efea
javascript/frameworks/ui5/test/models/source-react/controlledcomponent.tsx
@@ -9,11 +9,13 @@ function ControlledComponent( { props }) {
9
const handleButtonPress1 = () => {
10
// Access the input value via the hook
11
console.log('Current input value:', inputRef1.current.value); // SOURCE - not detected
12
- };
+ $("#id").html(inputRef1.current.value); // $ Alert
13
+ }
14
15
const handleButtonPress2 = event => {
16
setInputValue(event.target.value); // SOURCE - detected
- console.log('Current input value:', inputRef2); // not directly a source
17
+ console.log('Current input value:', inputRef2);
18
+ $("#id").html(inputRef2); // $ Alert
19
};
20
21
return (
0 commit comments