ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 4 replies, has 2 voices, and was last updated by  jneto 9 months, 3 weeks ago.

  • Creator
    Topic
  • #24512

    jneto
    Participant

    Can I add a button with a confirmation message like the delete button without using JavaScript ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #24599
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    Are we talking about these grid buttons ? If no, please show me your button.

    #24609

    jneto
    Participant

    In the view.html.twig of my entity, i need to use the UI.button and/or UI.dropdownItem

    but i need to send a confirmation message, in case the user click the button by mistake.

    Thanks

    #24616
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    Here is my example, if you want, you can make it better:

    Add this IF to the end of link macros:

    #24637

    jneto
    Participant

    Thanks. I will try it.

    My idea was not using custom JavaScript. I read the actionbundle documentation and I was hoping that the confirmation message could be achieved with configuration of the ui button macro call.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.