Giter Site home page Giter Site logo

ronald-hove / ion-custom-form-builder Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 3.0 3.79 MB

A Custom Form Builder For Ionic

License: MIT License

JavaScript 5.94% TypeScript 67.83% HTML 16.35% Shell 0.70% SCSS 9.17%
ionic4 forms formbuilder angular typescript js library formvalidation ionic5 ionic-framework ionic ionic6

ion-custom-form-builder's Issues

TypeError: Cannot read property 'unsubscribe' of undefined

Screenshot 2021-02-21 at 19 56 42

When the component is destroyed by exiting a page where the component is implemented, an undefined subscription error occurs

Causes: trying to unsubscribe from a subscription that was not created

Steps to recreate: create FormFields array that does not include FormFieldType of credit-card, route to another page, or navigate backward

bug exists in version 0.1.2

Implementing fix in version 0.1.3

About detectCardType ?

Hi Ronald, thanks for this excellent library, I have been playing with the credit card component, and I have not found a way to know what type of credit card the component detected, in the UI I can see the Visa icon, Mastercard, etc., but in the submit event submitForm (formData: any) {} formData has
card: "4111111111111111"
cardname: "Test"
cvv: "123"
expiry: "02/2021", is there any way to know the type of card detected in the submit event?

Regards,
Frank

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.