我們有一個(gè) Form 組件,它的內(nèi)部包含了一個(gè) Field 組件,在 Field 組件內(nèi)部又包含了一個(gè) Text Input。數(shù)據(jù)流可能是像下面這樣的: 用戶在輸入框中輸入一個(gè)字符。 Input 的 onChange 事件會(huì)被 Trigger。 Field 的 onChange Action 會(huì)被 Dispatch。 根據(jù)Field 的 onChange Action 對(duì) formState 進(jìn)行修改。 Form State...
trigger Ext.form.TriggerField 再仔細(xì)看下xtype的api文檔的原文: xtype: String The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Containe...