Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change \Nette\Forms\Controls\Button to generate <button> instead of <input type="button"> #273

janfejtek opened this issue Jun 12, 2021 · 0 comments


Copy link

I think it would nicer to generate <button> instead of <input type='button'> with SubmitButton and Button classes to allow html content (for example bootstrap spinners ) . Also I think it could replace ImageButton class in future


  • browser: I think only IE <= 10, can i use does not have the data...
  • php: <button type='button'> and <button type='submit'> are valid in case anybody already changed it by extending Button class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant