File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
services/static-webserver/client/source/class/osparc/form/tag Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -309,10 +309,13 @@ qx.Class.define("osparc.form.tag.TagItem", {
309309 * Creates an object containing the udpated tag info
310310 */
311311 __serializeData : function ( ) {
312+ const name = this . getChildControl ( "nameinput" ) . getValue ( ) ;
313+ const description = this . getChildControl ( "descriptioninput" ) . getValue ( ) ;
314+ const color = this . getChildControl ( "colorinput" ) . getValue ( ) ;
312315 return {
313- name : this . getChildControl ( "nameinput" ) . getValue ( ) . trim ( ) ,
314- description : this . getChildControl ( "descriptioninput" ) . getValue ( ) . trim ( ) ,
315- color : this . getChildControl ( "colorinput" ) . getValue ( )
316+ name : name . trim ( ) ,
317+ description : description ? description . trim ( ) : "" ,
318+ color : color
316319 } ;
317320 } ,
318321 _applyMode : function ( ) {
You can’t perform that action at this time.
0 commit comments