Assuming im on a Page, and I have a getTableHeading and a form with a Select.
If I click on a Select option, then I want the Heading to get the name of the option that I clicked. Is that even an option?
4 Replies
Is this a custom page? Can you share a screenshot?
Yes its a custom page
Never really done it but I'm thinking this could be a simple solution:
Add a property on your page class:
Then add on your Select field:
The
$state
here will be the vehicle ID... but you get the idea πThank you! As you said this was very close but I managed to do the rest. This gives the id only, so if you want the name of it, you have to do it this way: