JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Text Boxes & Inputs smart-number-input not working with Angular reactive form

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #102149
    davout
    Member

    I 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?
    #102152
    admin
    Keymaster

    Hi 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/

    #102155
    davout
    Member

    I 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.

    
    

     
     

    #102157
    admin
    Keymaster

    Hi 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/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.