vendredi 2 novembre 2018

Error mwssage of use laravel-jsvalidation plugin does not work with tinyMCE

In my Laravel 5.7 application I use laravel-jsvalidation plugin( https://github.com/proengsoft/laravel-jsvalidation/wiki/Basic-Usage ) and it worked ok, including textarea inputs, as :

<div class="form-row mb-3 ">
    <label class="col-xs-12 col-sm-4 col-form-label">Description</label>
    <div class="col-xs-12 col-sm-8">
        
    </div>
</div>

But after I added tinyMCE for textarea input I got a problem, that as description is required I do not see error message on validation failure for textarea input. The source of tinyMCE input is rather complicated https://imgur.com/a/nMDq0mY and I have no idea how to fix it. 1) If there is a way ?

2) If laravel-jsvalidation plugin has some javascript event methods, like on validation failure ? That could be useful...

Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire