I have created some customer's custom attribute that I am using in registration process. And they are saving values properly.
Now I want show values of those custom attributes on 'customer/account/edit/' page on frontend in user's account. I am using
but showing nothing even showing 500 error in console.
Is Magento2 following different way to fetch custom attribute value. Please help me in this.