arturomf Posted October 26, 2017 Share Posted October 26, 2017 Hi all: I'm trying to integrate a register form into my phaser game. I have no problem with text input, radio or checkbox, but i have no idea of how implementing a combobox. Someone has implemented this succesfully? I need to show a country combobox. Thanks all! Link to comment Share on other sites More sharing options...
Cudabear Posted October 26, 2017 Share Posted October 26, 2017 Looks like you'll be on your own for this one. You could build it using some logic and well-positioned sprites, but that would take a lot of work. Since you have full access to the DOM anyway, you may just want to float a select over your canvas at the correct position, and then use CSS to style it as close as possible to match your game. It should save you a lot of time in the long run. Link to comment Share on other sites More sharing options...
samme Posted October 26, 2017 Share Posted October 26, 2017 Why not just <select>? Otherwise <input list> + <datalist>. Link to comment Share on other sites More sharing options...
Recommended Posts