We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to implement materialize for an e-commerce solution... One of the forms has the following structure:
<form id="edd_purchase_470124-2" class="edd_download_purchase_form edd_purchase_470124" method="post"> <div class="edd_purchase_submit_wrapper"> <input type="submit" class="edd-add-to-cart edd-no-js button red waves-effect waves-light btn radius" name="edd_purchase_download" value="Free – Download" data-action="edd_add_to_cart" data-download-id="470124" data-variable-price="no" data-price-mode="single"> <a href="http://domain.com/checkout/" class="edd_go_to_checkout button red waves-effect waves-light btn radius" style="display:none;"> Checkout </a> </div> <input type="hidden" name="download_id" value="470124"> <input type="hidden" name="edd_action" class="edd_action_input" value="add_to_cart"> </form>
waves.js transforms that form to this:
waves.js
<form id="edd_purchase_470124-2" class="edd_download_purchase_form edd_purchase_470124" method="post"> <div class="edd_purchase_submit_wrapper"> <i class="edd-add-to-cart edd-no-js button red waves-effect waves-light btn radius waves-input-wrapper" style=""> <input type="submit" class="waves-button-input" name="edd_purchase_download" value="Free – Download" data-action="edd_add_to_cart" data-download-id="470124" data-variable-price="no" data-price-mode="single"> </i> <a href="http://domain.com/checkout/" class="edd_go_to_checkout button red waves-effect waves-light btn radius" style="display:none;"> Checkout </a> </div> <input type="hidden" name="download_id" value="470124"> <input type="hidden" name="edd_action" class="edd_action_input" value="add_to_cart"> </form>
As a result I'm seeing a button inside a button.
The problem seems to be located on
materialize/js/waves.js
Lines 197 to 235 in 9e41e8b
The text was updated successfully, but these errors were encountered:
Use the <button> tag instead. Take a look at the "Submit Button" section on http://materializecss.com/buttons.html
<button>
Sorry, something went wrong.
waves effects not working in self closed elements..
No branches or pull requests
Trying to implement materialize for an e-commerce solution...
One of the forms has the following structure:
waves.js
transforms that form to this:As a result I'm seeing a button inside a button.
The problem seems to be located on
materialize/js/waves.js
Lines 197 to 235 in 9e41e8b
The text was updated successfully, but these errors were encountered: