• Resolved devtc

    (@devtc)


    Hi,

    It seems something went wrong with the numeric input field. The buttons are messed up and when I add a custom length to the cable it does not have any effect, only the default value will be added. (You can check it in the last section without an image on the left menu)

    Can you help in that? I tried with other different themes and the problem is the same.

    Thanks

    • This topic was modified 5 months, 3 weeks ago by devtc.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marc Lacroix

    (@marcusig)

    Hi there,

    The buttons are messed up and when I add a custom length to the cable it does not have any effect

    How did you get those buttons on the input field? These are not part of the plugin. Whatever is adding them seems to also change the input behaviour.

    Marc

    Thread Starter devtc

    (@devtc)

    I only installed the mkl-form-builder plugin and the field was set to numeric input.

    Here it is in the code:




    case 'number': #>
    <input type="number" class="numeric-readonly" readonly
    <# if ( null !== data.number_field_min ) { #> min="{{data.number_field_min}}"<# } #>
    <# if ( null !== data.number_field_max ) { #> max="{{data.number_field_max}}"<# } #>
    <# if ( null !== data.number_field_step ) { #> step="{{data.number_field_step}}"<# } #>
    <# if ( null !== data.number_field_default ) { #> value="{{data.number_field_default}}"<# } #>
    ><# if ( data.number_field_suffix ) { #>
    <div style="display:inline-block; width:32px;">
    <button class="numeric-updown" onclick="this.parentNode.parentNode.querySelector('.numeric-readonly').stepUp()">+</button>
    <button class="numeric-updown" onclick="this.parentNode.parentNode.querySelector('.numeric-readonly').stepDown()">-</button>
    </div>
    <span class="number-field-suffix">{{data.number_field_suffix}}</span>
    <# } #>
    <# break;

    maybe someone has changed the plugin? Could you help me out what could be the original code instead of this? thanks!

    Plugin Contributor Marc Lacroix

    (@marcusig)

    The plugin’s code was obviously modified by someone, as this contains parts which are not part of the original code.

    My suggestion is to login on your account, and download the latest version of the plugin without modifications.

    Also note that support requests for the addons should be done on the premium support page as well, as the forum rules say we shouldn’t do paid product support here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.