Okay
  Public Ticket #909848
Data field in Modal
Closed

Comments

  •  2
    Rodolfo started the conversation

    Hello ,

    I'm having trouble adding data fields ("data-mask="date") in modals . The same does not display the data format.

    http://connectprime.com.br/call/html/ui-modals.html

    Click in "Show Me" on Responsive Modal

    Thanks

  • [deleted] replied

    Hi Rodolfo,

    When you append content to specific div/element container you have to re-call the Mask instance, so in this case after the modal is shown call this function:

    $("input[name="my-other-input"][data-mask]").inputmask()
    

    This should work for you.

  •  2
    Rodolfo replied

    Arlind, not work.

    no effects.

  • [deleted] replied

    Hi Rodolfo,

    Can you please share your FTP credentials here, because I need to login to your site and test this issue. Your information is safe here (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)

  •   Rodolfo replied privately
  • [deleted] replied

    Hi Rodolfo,

    I've created a global function to initialize Masked Inputs so when the modal is shown, just call this function:

    initMaskedInputs();

    It will work.