JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Buttons Smart button group – work with Angular Reactive form?

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #101538
    davout
    Member
    Up
    0
    Down

    Does the Smart Button Group work with a Angular reactive form?   I can’t get the initial value to be set from  the FormControl

    #101539
    admin
    Keymaster
    Up
    0
    Down

    Hi davout,
    You can display it in Angular Reactive Form. It does not have a value to be set so you could not have initial value.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #101541
    davout
    Member
    Up
    0
    Down

    What about https://www.htmlelements.com/angular/demos/buttongroup/overview/#toc-selectedvalues_string  ??

    #101542
    admin
    Keymaster
    Up
    0
    Down

    Hi davout,
    It is not a value, like in an Input for example, or Date in the Calendar. In addition, the referred property is only for specific modes of the ButtonGroup.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #101543
    davout
    Member
    Up
    0
    Down

    An I suggest that you update your documentation to specify what component work with Angular reactive forms?  Adding this to the component API guide

    #101544
    admin
    Keymaster
    Up
    0
    Down

    Hi davout,
    Such docs is available here: https://www.htmlelements.com/docs/angular-reactive-forms/. You can use a ButtonGroup with Angular Reactive Forms and make it part of the UI, but you cannot bind its value as such property is not available in that component.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

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