GithubHelp home page GithubHelp logo

Radio and multi checkbox types do not receive formControl or errorExistsAndShouldBeVisible about angular-formly-templates-bootstrap HOT 7 CLOSED

formly-js avatar formly-js commented on August 28, 2024
Radio and multi checkbox types do not receive formControl or errorExistsAndShouldBeVisible

from angular-formly-templates-bootstrap.

Comments (7)

kentcdodds avatar kentcdodds commented on August 28, 2024

What if you were able to set noFormControl: false explicitly and that would cause formly to add the watcher anyway. I think this would work. Would that be acceptable?

from angular-formly-templates-bootstrap.

s992 avatar s992 commented on August 28, 2024

Doesn't appear to make a difference - I tried setting it on the field as well as creating a custom type with the default option set: http://jsbin.com/tonelumepu/2/edit

from angular-formly-templates-bootstrap.

kentcdodds avatar kentcdodds commented on August 28, 2024

Sorry, what I meant was, what if I made it work that way (doesn't currently). Do you think that would be a reasonable API to use?

from angular-formly-templates-bootstrap.

s992 avatar s992 commented on August 28, 2024

Sure, that sounds perfectly reasonable.

from angular-formly-templates-bootstrap.

kentcdodds avatar kentcdodds commented on August 28, 2024

Alrighty, I think I've got it working in angular-formly 6.3.3 and the templates 4.0.8. Let me know if you have trouble!

from angular-formly-templates-bootstrap.

s992 avatar s992 commented on August 28, 2024

Looks to be working well for me, thanks!

from angular-formly-templates-bootstrap.

kentcdodds avatar kentcdodds commented on August 28, 2024

So, I've figured out a better way to accomplish this. You no longer will need to specify noFormControl: false :-) Look forward to [email protected] :-)

from angular-formly-templates-bootstrap.

Related Issues (20)

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.