I have created a custom field plugin handler. In render() function I want to render a select box. I tried using a renderable array but it strips HTML <select> and <option> tag. If I return a string entire HTML is printed as a string. Normal HTML tags like <div> or <ul> works fine but input elements or select box are stripped out.

Please help.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.