Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Aug 09, 2018 @ 10:39
    Ali Sheikh Taheri
    0

    Validation doesn't work for Textarea

    Hi

    I am using Umbraco version v 7.10.4 with DTGE version 0.5.6626.9203 (installed via NuGet).

    I have a very simple document type called Intro module which has only one textarea field, this is a required field, when I use that inside the grid I can save Intro Module without adding any content and in the panel, I won't get any validation error or any error in the console.

    I was just wondering if you guys have any idea why the validation doesn't get triggered on the save click (on the right panel) for textarea

    Your help is much appreciated.

    Many thanks

    Ali

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Aug 09, 2018 @ 13:10
    Ali Sheikh Taheri
    0

    Just a quick update, it seems that the validation doesn't work at all for textarea data type and it does work for other types.

    UPDATE: I have installed a fresh Umbraco with version 7.10.4 with version 5 for DTGE and still no luck.

    Then I upgraded Umrbaco to V 7.11.1 and v6.0 for DTGE still no luck.

    I can confirm that the textarea validation works if I add it to the document type but doesn't work when it is inside the grid.

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Aug 13, 2018 @ 14:55
    Ali Sheikh Taheri
    0

    Any update on this? Should I report this bug in Issue tracker?

  • Stefano 61 posts 313 karma points c-trib
    Sep 13, 2018 @ 14:45
    Stefano
    0

    I'm having the same problem, even with dropdowns. Text boxes for example work fine!

  • Stefano 61 posts 313 karma points c-trib
    Sep 13, 2018 @ 15:50
    Stefano
    0

    I opened https://github.com/umco/umbraco-doc-type-grid-editor/issues/114, however Matt said

    I believe DTGE doesn't support field validation

    on slack.

  • Revti Shah 7 posts 75 karma points
    Jul 12, 2019 @ 05:40
    Revti Shah
    0

    Please Add into Backend

    Umbraco -> Views -> Property Editors -> textarea - > textarea.html

    ng-required="model.validation.mandatory" <- please add into textarea field

Please Sign in or register to post replies

Write your reply to:

Draft