You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: assets/FormHelper/FormHelper.js
+45-12
Original file line number
Diff line number
Diff line change
@@ -81,11 +81,14 @@ wsYii2.FormHelper = {
81
81
* Set form input value(s) of any type of input
82
82
*
83
83
* @param {string|object} inputName - Name of form field or jQuery object of the element
84
+
* @param {object} options - Available options:
85
+
* - `triggerChange` : set true to trigger a change event on the input if the new value is different (see also https://stackoverflow.com/questions/3179385/val-doesnt-trigger-change-in-jquery and https://stackoverflow.com/questions/24410581/changing-prop-using-jquery-does-not-trigger-change-event)
84
86
*
85
87
* @return {object|null} - The element as a jQuery object
0 commit comments