I have one SharePoint On-Premises site which is accessible outside of my server. I already have few lists & libraries created on that site which I am using.
I have one Office 365 SharePoint subscription where I am using some modern inbuilt as well as custom web-parts.
In one of my Web-part, I have a form & I want data from SP On-Premises lists (E.G. Countries, Cities, etc.) to bind into drop-down available in SPFx form. I also want to post (save) form data to SharePoint On-Premises list (e.g. Customer Information).
Kindly help me by providing detailed information about How can I perform my operations.
I am using only SPFx solution so Kindly provide me the solution for my SPFx solution only.