Skip to content

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

Closed

Description

@janfejtek

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

BC:

  • 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

Activity

  1. added a commit that references this issue on Jun 17, 2021
    c3bcf7f
  2. added 2 commits that reference this issue on Aug 25, 2021
    465a1ee
    8314a91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions