You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe you thought of this when you meant from a developer's point of view... so to speak.
If not, this is a feature request.
As you know array keys are unique to their parent, but in UF they are not. They are unique globally.
The array below is how i would like to set up my array, but with UF this runs a validation error because each array key must be unique globally. So below where I have title, description, image I instead have to make them like facebook_title, facebook_description, facebook_image and twitter_title, twitter_description, twitter_image and so on.
Having to do this, with options like this can create quite a bit of extra coding because each index needs to actually be written uniquely as well.
I'm sure you understand, so I was wondering if this could be turned off for PHP, turned on for the UI only (as I see use there). I wouldn't necessarily turn it off for the UI because for newer devs or just others used to the interface, it would be good I think to help make sure they are coding uniquely, then they can change it in PHP if they decide to.
Hi.
Maybe you thought of this when you meant from a
developer's point of view...
so to speak.If not, this is a feature request.
As you know array keys are unique to their parent, but in UF they are not. They are unique globally.
The array below is how i would like to set up my array, but with UF this runs a validation error because each array key must be unique globally. So below where I have
title, description, image
I instead have to make them likefacebook_title, facebook_description, facebook_image
andtwitter_title, twitter_description, twitter_image
and so on.Having to do this, with options like this can create quite a bit of extra coding because each index needs to actually be written uniquely as well.
I'm sure you understand, so I was wondering if this could be turned off for PHP, turned on for the UI only (as I see use there). I wouldn't necessarily turn it off for the UI because for newer devs or just others used to the interface, it would be good I think to help make sure they are coding uniquely, then they can change it in PHP if they decide to.
Thoughts?
The text was updated successfully, but these errors were encountered: