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
$().w2field(...) and addType(...)- deprecated. You should doclass myType extends w2field {...}`
enum fields: defining onNew is no longer enough to add arbitrary items. You need to set options.autoAdd: true now.
w2grid
recordHeight: default changed from 24 to 32 ( #914e2be3 )
onUnselect - deprecated, use onSelect which is called anytime selection changes
w2form
focus can be a string
applyFocus() -> setFocus()
`setFocus()takes an optional string/integer argument and returns the focused element (orundefined`` if the index/field could not be focused)
msgNotJSON - deprecated
msgAJAXerror - deprecated
w2popup
added openMaximized
w2utils
w2utils.event - deprecated
Accessing "missing" translations via w2utils.lang will by default result in a warning being logged to the console. You can change this behavior in the w2utils settings.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
1.5 final -> 2.0
Note: most of the properties that have been marked as deprecated in 1.5 are now removed!
w2base (new class)
w2event (new class)
event.detailfor all custom properties, used to be attached to theeventobjectawait event.complete-preferred way, but still can useevent.done(func)and.event.onComplete = funcw2tooltip (new class)
Tooltipw2layout
w2field
$().w2field(...) andaddType(...)- deprecated. You should doclass myType extends w2field {...}`onNewis no longer enough to add arbitrary items. You need to setoptions.autoAdd: truenow.w2grid
recordHeight: default changed from 24 to 32 ( #914e2be3 )onUnselect- deprecated, useonSelectwhich is called anytime selection changesw2form
focuscan be a stringapplyFocus()->setFocus()takes an optional string/integer argument and returns the focused element (orundefined`` if the index/field could not be focused)msgNotJSON- deprecatedmsgAJAXerror- deprecatedw2popup
openMaximizedw2utils
w2utils.langwill by default result in a warning being logged to the console. You can change this behavior in the w2utils settings.Beta Was this translation helpful? Give feedback.
All reactions