itay pro asked 6 years ago


What is easiest way to display a message box with custom message to the user ?

deanc free answered 6 years ago


If you want to force user to read message than modal popup would be ideal.

itay pro commented 6 years ago

OK, but how can I open a modal popup with custom message.e.g., openModal('Please close the window') ?

Damian Gemza staff commented 6 years ago

Dear mdb2, You could always try to use alerts. It's the best way to show user some custom message. Please take a look at it: https://mdbootstrap.com/angular/advanced/alerts/ Best Regards, Damian

itay pro commented 6 years ago

Alerts are toasters, not modal that are big and await user's input

Damian Gemza staff commented 6 years ago

Maybe could you try to create a component which contains some modal with dynamic text, and after some user action, you'll call that modal with some text? I can't provide you with a fully working code, but you could try to do this on your hand. Best Regards, Damian


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags