Skip to content

ng-required #22

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

Closed
hatpick opened this issue Nov 5, 2014 · 9 comments
Closed

ng-required #22

hatpick opened this issue Nov 5, 2014 · 9 comments
Assignees

Comments

@hatpick
Copy link

hatpick commented Nov 5, 2014

Is it possible to use ng-required with this? currently I'm using a hidden input for this purpose.

@outsideris
Copy link
Owner

Did you mean summernote's textarea need to be required?
I will check if I can support ng-required.

@hatpick
Copy link
Author

hatpick commented Nov 10, 2014

I mean like use ng-required with summernote, like in a form, user is required to fill a summernote before being able to submit it.

@outsideris outsideris self-assigned this Nov 24, 2014
@im1dermike
Copy link

+1 for this request. Can't believe it doesn't have it...

@mts88
Copy link

mts88 commented Aug 26, 2015

Absolutely +1

@martijndebruijn
Copy link

+1.

@jhwegener
Copy link

+1

1 similar comment
@SmailHammour
Copy link

+1

@serkanince
Copy link

+1 😞

@isreehari
Copy link

It's working fine for me.

<div class="form-group" ng-class="{ 'has-error' : sectionForm.$submitted && sectionForm.description.$invalid }">
    <label for="name" class="col-sm-3 control-label">Section Description:* </label>
        <div class="col-sm-9">
        <summernote name="description" data-ng-model="examsCtr.sectionObject.description" data-config="examsCtr.summernoteOptions" data-ng-required="true"></summernote>                      
        <p ng-show="sectionForm.$submitted && sectionForm.description.$error.required"  class="help-block">Required</p>  
     </div>
</div>

@hatpick hatpick closed this as completed Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants