HTML Elements Forums Forms & Editors Buttons Disable form submit button and change label after click?

This topic contains 1 reply, has 2 voices, and was last updated by Avatar admin 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100994
    Avatar
    davout
    Participant

    I am using a ‘smart-button’ as the ‘submit’ button an Angular reactive form.

    When the user clicks on the button I want to immediately:

    • Disable the button
    • Update the label

    Any suggestions on how to do this?

    #100996
    Avatar
    admin
    Keymaster

    Hi davout,

    Could you please look at this example: https://www.htmlelements.com/angular/demos/dropdownlist/reactiveforms/.
    The example includes a code which enables or disables a smart-button within an Angular Reactive form depending on conditions.

    Best regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.