Question: how to bind an INPUT with two properties? #438
Unanswered
CarlossShi
asked this question in
Q&A
Replies: 2 comments
-
you can register two listeners to one property using JS. That way you can do both things that you want to do. |
Beta Was this translation helpful? Give feedback.
0 replies
-
After a long long effort, with the help of ChatGPT, I finally succeeded. I think it's too hard for one who has no knowledge about Java Script, to read through the documents and write the right code. The code is shown below. Don't know if it's optimized or has any problem yet.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to make two properties updated after I send an input. Or alternatively, bind one property to the other.
My use case is like: input a text, then automatically generate search links of different websites, and update them to the metadata.
It's possible to implement that using meta-bind button with inline JS, but I must press the button to update these properties. I'd like the properties to update automatically as soon as I type inputs, just as the one property case
INPUT[text:text]
. Thanks in advance for your help!Beta Was this translation helpful? Give feedback.
All reactions