create new child on enter key and prevent the content from other cells

Hi Everyone,

I am new to MPS and have a basic question: I have a concept which has several children...

concept xxx extends BaseConcept                                                                                                                                                                      
                implements                                                                                                                                                               
                                                                                                                                                                                                         
instance can be root: true
alias: <no alias>
short description: <no short description>
 
properties:
<< ... >>
 
children:
a : aa[0..1]

b : bb[0..1]

c: cc[0..n]
 
references:
<< ... >>

The editor of xxx contains all these children and its own content. For the first time content of a, b and c and content of xxx appears asusual.

On pressing "Enter" is it possible to get only the content of child "c"  and excluding the content of a,b and xxx ?

Thank you all for any suggestion..


                                                                                                                                                               
                                                                                                                                                                                                        

 

 

I have a basic question. I have a child list [0..n] , separated by a comma. Now if the user hits enter, it always creates a new child.

1
1 comment

The definition of your editor will be most likely need some tuning.

You can use both Enter and comma to create new children in a collection.

1

Please sign in to leave a comment.