You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem, I use the tooltip validation on a modal, after i submit the data and it is accepted i hide the modal, problem is tooltips are left behind for every field.
The text was updated successfully, but these errors were encountered:
For a quick fix, comment out xtForm.js:458: //container: attrs.container || 'body'
(and remove the preceding comma)
This will stop xtForm from adding the tooltips to the body element by default, and so they should disappear when when their input field disappears.
Alternatively, you could override this behaviour by adding the data-container attribute to an element close to your input element. NB: you can't set it to be the input directly, because input cannot contain other DOM elements.
There is a problem, I use the tooltip validation on a modal, after i submit the data and it is accepted i hide the modal, problem is tooltips are left behind for every field.
The text was updated successfully, but these errors were encountered: