-
Notifications
You must be signed in to change notification settings - Fork 33
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
Who's using ngx-sub-form? #112
Comments
We are using ngx-sub-form at Cohesity, and are working on migrating most of our form components to use it. Thank you for you work on this library, it is really solid. |
I am using ngx-sub-form on a middle size project for a customer and friend. |
@dscoblen thanks for the kind words, we appreciate 😄! @cbleu also thanks for the detailed comment 👌!
We did too initially. Unfortunately we couldn't find anything that was fitting our need and after building ngx-sub-form internally we thought it might be useful for others and decided to publish it :)
Yes! A built in support from angular would be great 🙏
Please do report them as separated issues and if it's legit and we can help we will.
The main concept of the library is hidden behind a built in feature of angular: Control Value Accessor. Google it and you'll be able to find really good articles (and YT videos especially from ng-conf) where you can learn more around that. ngx-sub-form aims to reduce the boilerplate required for that and we built a few features on top of it too (+handled a few known bugs so ngx-sub-form users don't have to 🙌) . If you feel like digging into the code the core of the lib is in one file: ngx-sub-form.component.ts If you want to find examples, you can also look into our demo project in the src folder or read a blog post about ngx-sub-form.
Feel free to create some stackoverflow questions to show where you're at and what are your issues 👍 |
I introduced it to simplify a form that was growing well over the 700 hundred lines in our of our project at work. It was the dreaded part of the app, but now when we have to change it, it feels like changing the color of a button, you know where and how even before opening the project. The only thing I really struggle with each time I use this lib, is when I have a form control that is not really an input the user would type in. Per example we have a few forms where we select a user from a modal that searches in the LDAP. And I'd like to display the selected user in a custom component that is not editable by hand. I ended up putting it in a read-only input but that's really hacky. |
@MonsieurMan thanks for the details on the project and how ngx-sub-form helped you solved them! Can you create an issue for the thing you're struggling with? I'll try to help you out and maybe improve our docs and/or examples 😺 (but not in this thread) |
Hi everyone 👋!
Out of curiosity, we'd love to heard from people using
ngx-sub-form
whether you're using it for small side projects or larger projects at work 👍.If you feel like sharing with us know, feel free to use the following template (or not):
(feel free to tweak the above as you please and answer only what can/want)
Thanks for taking the time to share 🙏!
The text was updated successfully, but these errors were encountered: