open-vault/ui/lib/core/addon/components/info-tooltip.js
claire bontempo a1cef4a72a
UI/ fix tooltip submitting form (#16659)
* fix tooltip submitting form

* add changelog

* add changelog actually
2022-08-09 20:51:29 -07:00

17 lines
366 B
JavaScript

import Component from '@ember/component';
import layout from '../templates/components/info-tooltip';
export default Component.extend({
layout,
'data-test-component': 'info-tooltip',
attributeBindings: ['data-test-component'],
tagName: 'span',
classNames: ['is-inline-block'],
actions: {
preventSubmit(e) {
e.preventDefault();
},
},
});