UI/ fix tooltip submitting form (#16659)
* fix tooltip submitting form * add changelog * add changelog actually
This commit is contained in:
parent
8b1a9da460
commit
a1cef4a72a
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
ui: Fix info tooltip submitting form
|
||||
```
|
|
@ -7,4 +7,10 @@ export default Component.extend({
|
|||
attributeBindings: ['data-test-component'],
|
||||
tagName: 'span',
|
||||
classNames: ['is-inline-block'],
|
||||
|
||||
actions: {
|
||||
preventSubmit(e) {
|
||||
e.preventDefault();
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
@type="button"
|
||||
class="tool-tip-trigger button is-ghost is-compact"
|
||||
data-test-tool-tip-trigger={{true}}
|
||||
onclick={{action "preventSubmit"}}
|
||||
>
|
||||
<Icon @name="info" class="auto-width" aria-label="help" />
|
||||
</d.Trigger>
|
||||
|
|
Loading…
Reference in New Issue