surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.19k stars 808 forks source link

Could we have <button> instead of <input type="button"> ? #79

Closed mattes3 closed 7 years ago

mattes3 commented 8 years ago

I am using survey.js in an HTML5 context. Could I have real

andrewtelnov commented 8 years ago

@mattes3 I am thinking about heavily rewrite knockout templates and react rendering. Actually, I want to merge standard and bootstrap html (did some simple merging on previous week) and create the ability to support others css frameworks. Material Design is the first candidate. I want to remove survey.bootstrap.js and have only survey.js file. There will be an property: survey.cssFramework: string ("standard", "bootstrap", "materials"). There should be an ability to add another one, or of course modify the current, as you can do now.

I can not promise, that I will be able to change input tag on button tag. I will need to experiment with this. If it works better on mobile and fine on desktop, then sure, I will do it. I was going to start with this task in one-two weeks.

Thank you, Andrew

mattes3 commented 8 years ago

Cool, thanks, Andrew!

andrewtelnov commented 8 years ago

I have posted the updated knockout version: https://github.com/andrewtelnov/surveyjs/issues/86