Add helpful tip to docs

I was thinking if someone wasn't aware that you could also use `<button type="submit"></button>` instead of `<input type="submit">` that this could save them some time (and possibly prevent them abandoning the idea of using this lovely animated loading button)
This commit is contained in:
b-fuze
2018-12-04 21:33:34 -05:00
committed by Jeremy Thomas
parent 01c903fbbb
commit 0b799e1611

View File

@@ -659,7 +659,7 @@ meta:
<div class="message is-info">
<div class="message-body">
<p>
Since the loading spinner is implemented using the <code>:after</code> pseudo-element, it is not supported by the <code>&lt;input type="submit"&gt;</code> element.
Since the loading spinner is implemented using the <code>:after</code> pseudo-element, it is not supported by the <code>&lt;input type="submit"&gt;</code> element. Consider using <code>&lt;button type="submit"&gt;</code> instead.
</p>
</div>
</div>