I need to create custom Customer Attribute with Yes/No option. I successfully created ones with Text input previously. What I need now is, create a separate attribute for set if Customer is on Hold or not. I've used mage2gen.com's module generator and I can see the attribute in backend. (When I tried to create new customer or edit customer). But thing is I'm not sure that data has been saved into the database. Basically what I need is,
- Create customer module with yes/no or dropdown with two options. It should only be visible from admin area.no need to display anything in frontend.
- check whether data is saved when customer is saved/updated.
- Retrieve created customer attribute data using ObjectManager
Please help me out with this