Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Editor & Inputs › smart-number-input not working with Angular reactive form
Tagged: reactive angular
- This topic has 3 replies, 2 voices, and was last updated 4 years, 2 months ago by
admin.
-
AuthorPosts
-
August 25, 2021 at 3:38 pm #102149
davout
MemberI am trying to set a ‘smart-number-input’ control in my reactive Angular form
In the HTML... <smart-number-input class="two-char-control" formControlName="recurringDailyFrequency"></smart-number-input>
From the typescript file... this.taskForm.get(this.CONTROL_RECURRING_DAILY_FREQUENCY).setValue(1); The form control is not updating with the '1' value. I'm having the same issue with all 'smart-' components. When I try to use 'smart-radio-button' it doesnt work. If I replace this with an input type=radio, then it does work Any suggestions?
August 26, 2021 at 4:47 am #102152admin
KeymasterHi davout,
We cannot reproduce an issue with the provided details. If you share a stackblitz sample which shows your scenario and the behavior which you report, we will try it once again.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/August 26, 2021 at 12:15 pm #102155davout
MemberI find your support approach very lazy. If I report a problem its because something I have paid for is not working.
To prove this…
If I use the <smart-numeric-text-box> component then the reactive form ‘setValue’ method call works
If I use the <smart-number-input> component then the reactive form ‘setValue’ method call DOES NOT work
I would expect your docs and tutorials to include working examples for such situations. Asking your clients to build these examples is a very strange view of customer support.
August 26, 2021 at 12:38 pm #102157admin
KeymasterHi davout,
1. From your Forum’s profile nickname, we are not aware whether you’re a customer or not.
2. This is a Community forum so by requesting help from other forum users or from our team requires at least some steps to reproduce an issue. Posting a topic which says: “this is not working” without adding details will most probably result in an unanswered topic.
3. Thanks for the further details. By double-checking the angular support for this component, it is not in the list of supported components in Angular Reactive Forms: https://www.htmlelements.com/docs/angular-reactive-forms/.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/ -
AuthorPosts
- You must be logged in to reply to this topic.