Skip to content

Commit

Permalink
docu(Tinebase): multipicker getValue obstacles
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusweiss committed Feb 21, 2025
1 parent e165c0c commit fe46b3d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tine20/Tinebase/js/widgets/form/VMultiPicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,14 @@ Tine.Tinebase.widgets.form.VMultiPicker = Ext.extend(Ext.BoxComponent, {
this.vueHandle?.unmount()
},

/**
* returns recordData of selected Records
*
* @NOTE single record pickers just return recordId with getValue and have selectedRecord property to get the whole record
* we might want to adopt dataflow here?
*
* @returns {Array<Object>|*[]}
*/
getValue: function(){
return this.props ?
this.props.records ?
Expand Down

0 comments on commit fe46b3d

Please sign in to comment.