Dojo validation of a textarea

后端 未结 5 2057
夕颜
夕颜 2020-12-11 04:39

I\'m attempting to use dojo for the first time, so this may be be obvious.

I have a very simple form with one textarea in it that needs to be filled in.

5条回答
  •  再見小時候
    2020-12-11 05:16

    My approach is slightly different to the previous two answers but it is hopefully more concise as it does not involve writing any validation code.

    The out of the box dijit/form/SimpleTextarea extends a TextBox by replacing the control with a