Skip to content
New issue

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

Keyboard Usage inside Dynamically Created Bootstrap Modal #804

Open
sansal54 opened this issue Mar 23, 2021 · 0 comments
Open

Keyboard Usage inside Dynamically Created Bootstrap Modal #804

sansal54 opened this issue Mar 23, 2021 · 0 comments

Comments

@sansal54
Copy link

sansal54 commented Mar 23, 2021

Hi,

Once, I saw your example with an input inside bootstrap modal by using jquery 1.9.1. I tried to adapt that to my situation but I was not able to. Basically, I create my modals with Vue.js dynamically and I need to show up a virtual keyboard attached to input elements inside them. My modal code seem like:

<div class="col" v-for="masa in masalar_data">
`

            <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg">

              <div class="modal-content">

                <!-- Modal Header -->
                <div class="modal-header">
                  <h4 class="modal-title">[[masa.siparis_alan]] [[masa.siparis_grup]]-[[masa.siparis_masano]]</h4>
                </div>

                <!-- Modal body -->
                <div class="modal-body">

                    <input type="number" v-bind:id="'input'+masa._id" class="form-control m-1 p-1 input" v-model="indirim" v-on:input="updateTotalPrice(masa._id)" placeholder="% iskonto">

                </div> <!-- End Of Modal body -->


              </div> <!-- End Of Modal content -->
            </div> <!-- End Of Modal dialog -->
          </div> <!-- End Of Modal -->

      </div> <!-- End Of Col -->

`
I minimized the modal for simplicity and I have to bind the input element to a keyboard. Your code is promising about this and I would appreciate much about your support.

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

No branches or pull requests

1 participant