Giter Club home page Giter Club logo

bank-card-vue-component's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bank-card-vue-component's Issues

Заменить deprecated методы в тестах

Сейчас при запуске тестов выдает следующее предупреждение:

[vue-test-utils]: contains is deprecated and will be removed in the next major version. Use wrapper.find, wrapper.findComponent or wrapper.get instead.

Необходимо заменить устрашевший метод contains

Сохранить по нажатию на кнопку

Я вижу, что сейчас сохранение доступно только по нажатию на Enter, и чтоб реализовать сохранение по кнопке (это обычный способ!) нужно костыли писать 😔
Можно ли как-нибудь получать введенные данные, чтобы я у себя их сохранял и при дальнейшем нажатию на какую-то определенную кнопку, эти данные отправлялись? Ну или если возможно, чтобы я просто использовал вами написанную кнопку, которую можно либо показывать, либо не показывать.

please add locale option

Is your feature request related to a problem?

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Additional context

Add any other context about the feature request here.

Элементы карты выходят за пределы

Элементы карты выходят за пределы из-за некорректного box-sizing.
Сейчас выглядит вот так:
Screenshot 2020-10-22 at 15 50 04
Добавьте box-sizing: border-box !important для .card-inner и то же самое для .card__field
Будет выглядеть вот так:
Screenshot 2020-10-22 at 15 50 34
Спасибо.

Cardholder

Добавьте поле для владельца карты, пожалуйста 🙂

Реализовать сабмит формы через тег form

Проблема

Сейчас мы сами решаем когда сабмитить форму, и делаем это костылем.
Если до этой формы дойдет пользователь со скрин ридером,
то но не сможет совершить оплату, как как мы не ловим submit как событие.
На данном этапе скорее всего вообще произойдет баг, форма засобмитится,
но улетать некуда и страница просто перезагрузится.

Так же, браузер (chrome) не делает нативный submit на те формы у который нету
button[type=submit]. Вполне возможно, что пользователь со скринридором
упрется в эту проблему и не сможет вообще ни как отправить форум.

Решение

  • Привязаться к событию submit формы и отправлять запрос на сервер именно по этому событию.
  • Добавить button[type=submit]{Отправит}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.