Refactor all Buefy form submit buttons, per Chrome behavior
ugh, what a pain. and turns out i'd previously ran into this same issue for
jQuery, per commit e945ebe325
This commit is contained in:
parent
43a210cac4
commit
a4b27115ac
17 changed files with 517 additions and 319 deletions
|
@ -1,21 +1,19 @@
|
|||
|
||||
const OnceButton = {
|
||||
|
||||
template: [
|
||||
'<b-button',
|
||||
':type="type"',
|
||||
':native-type="nativeType"',
|
||||
':tag="tag"',
|
||||
':href="href"',
|
||||
':title="title"',
|
||||
':disabled="buttonDisabled"',
|
||||
'@click="clicked"',
|
||||
'icon-pack="fas"',
|
||||
':icon-left="iconLeft"',
|
||||
'>',
|
||||
'{{ buttonText }}',
|
||||
'</b-button>'
|
||||
].join(' '),
|
||||
template: `
|
||||
<b-button :type="type"
|
||||
:native-type="nativeType"
|
||||
:tag="tag"
|
||||
:href="href"
|
||||
:title="title"
|
||||
:disabled="buttonDisabled"
|
||||
@click="clicked"
|
||||
icon-pack="fas"
|
||||
:icon-left="iconLeft">
|
||||
{{ buttonText }}
|
||||
</b-button>
|
||||
`,
|
||||
|
||||
props: {
|
||||
type: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue