colouring-cities / archive-colouring-core-first-attempt

Core implementation of the colouring platform
GNU General Public License v3.0
0 stars 0 forks source link

Automatically add post code into post code search box when building is clicked #15

Open polly64 opened 1 year ago

polly64 commented 1 year ago

@mdsimpson42 how easy is this to do?

mdsimpson42 commented 1 year ago

The short answer is: I'm not sure.

I've been trying to make it work, I can get it to show the selected building's postcode when you refresh the page, but it doesn't update when you click on another building. It looks like the Search Box gets created when the page loads, and that is when all the values are set. I'm not sure how to get it to update when the selected building changes...

There may be a way, and I can keep looking, but I'm assuming this isn't top priority?