Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Bind not working #12

Open
ait-sv opened this issue Jun 17, 2020 · 1 comment
Open

Bind not working #12

ait-sv opened this issue Jun 17, 2020 · 1 comment

Comments

@ait-sv
Copy link

ait-sv commented Jun 17, 2020

I have exactly the same example HTML but the binding are not working.

Then I have in my HTML:

 <div class="form-group">
     <label for="name">Nombre:</label>
    <input type="text" class="form-control" name="name" id="name" data-bind="name" required>
 </div>
<span data-bind="name"></span>

At the end of the HTML I have referenced:

<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.2/jquery.validate.min.js" integrity="sha256-+BEKmIvQ6IsL8sHcvidtDrNOdZO3C9LtFPtF2H0dOHI=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-steps/1.1.0/jquery.steps.min.js" integrity="sha256-yUWanhHkxj+3ow0qZE6AtzP8lZkwLvPagULL6PnZMz0=" crossorigin="anonymous"></script>
<script src="https://unpkg.com/jquery-bindings/jquery-bindings.min.js"></script>

this Is my initialization inside fo document.ready:

let obj = {
   name: '',
   email: '',
   phone: '',
   address: '',
   instructions: '',
   billing: '',
   fileGroupList: []
 }

 let dataToSend = $.bindings(obj)

But finally not working but no errors on console.

@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant