monad98/ng2-lazy-trumbowyg

Adding the editor in a ReactiveFormsModule form

Closed this issue · 2 comments

Hi, I have a question, is there any way to add the editor to a ReactiveFormsModule model driven form, using the formControlName binding?.
Something like this:

<form class="form" [formGroup]="blogForm" (ngSubmit)="saveForm();">
    <div class="row">
        <div class="col-md-12">

            .....................

            <div class="form-group">
                <label>Blog Content</label>
                <trumbowyg 
                    [options]="options1"
                    formControlName="blogContent"
                >
                </trumbowyg>
            </div>

            ....................


        </div>
    </div>
</form>

No. sorry.

@monad98 Thanks, are you planning to add this? It can be very helpful instead of doing manual state management