-
Notifications
You must be signed in to change notification settings - Fork 18
NetCommons.NetCommonsFormHelper
Mitsuru Mutaguchi edited this page Oct 21, 2016
·
3 revisions
create
Formの開始タグを作成する。
基本的にCakeのForm->createと同じ使い方。
ただし、optionパラメータにnovalidate, ng-submitを指定しないで呼び出すようにする。
指定しなければ、自動的にNetCommonsに合わせたオプションが設定される。
プラグインによってはこれら2つのパラメータ設定を無効にしたい場合は意図的に設定すること。
(ng-keydownでEnterキーで自動的にSubmitする動作のガードをここに追加できないか
基本的にNetCommonsFormの場合にはFrame.id, Block.idのhidden-inputがつくのではないのか?
https://netcommons3.github.io/NetCommons3Docs/phpdoc/NetCommons/classes/NetCommonsFormHelper.html