Page model fields not being shown

Builder content link

Builder public api key
5d0546160e954b87b82e2663451afcb1

Hi everyone. I’ve got an odd issue where i’ve created some Page Model fields and 2 of them are not being shown. I can see values for them in graphQL though for some pages. It’s the 2 boolean fields highlighted in the screenshots

I was wondering if there’s some sort of caching going on in the visual editor?

Cheers
Tom


Hi Tom,

My name is Veronika and I am a Custom Engineer here at Builder. I think I found the confusion happening here - I was able to go into your application through your API key and look through your model fields.

If you click on the ‘More Options’ tab in the field you’re trying to edit (in this case it would be useBlackButtonTextColor, I can see that you’ve written a piece of code return options.get('includeInNav').

I’m not sure if this was intentional or not - however, this piece of code will only make these options show up in the UI if the includeInNav is set to true or toggled on. I went ahead and tested this as well:

As you can see, because of that piece of code, when I toggle on the ‘Include this page in navigation?’, the options will now pop up.

If this is toggled off,
Screenshot 2024-10-28 at 11.06.19 AM

The options won’t show up in the UI.

So there are a few options here: If you meant to write this piece of code, then you’d need to toggle on the ‘Include this page in navigation?’ or if you’d like for all the options to show up regardless - you can just take this line of code out.

Let me know if you have any questions,

Thank you!

Thanks Veronika

I’ve now removed those “Show If” bits of code and they are still not showing for me. Tried logging out and in again and clearing my cache

Very strange

Tom

Hi Tom,

I am currently and have been looking into this. Please bare with me as I try to figure out the behavior that’s happening here.

Thanks!

Hi Tom,

I wasn’t able to reproduce this behavior on my end - I created a new page with the same exact fields and everything seemed to work on my local machine, so I am inclined to think this might have been an edge-case or an isolated incident.

I’ve raised this with the Product Engineering team to make sure they have a look at this as well.

In the meantime, I went ahead and cleared out those fields and re-added them and they seem to show up in the Builder Visual Editor UI now.

Could you please have a look and confirm that they are showing up and are working properly on your end?

Our apologies for this and please let me know if you have any further questions as we investigate this further,

Thank you.

Ah that’s great Veronika. Thanks very much

Tom