Aikau setValue of textBox

cancel
Showing results for 
Search instead for 
Did you mean: 
redraccoon
Established Member

Aikau setValue of textBox

Hello,

I would like to load my textBox's value from json 

i'm able to setValue of textBox using build rendering, serviceXhr request

But I was wondering if it's possible to do it inside this 

{
name : "alfresco/forms/controls/TextBox",
   config : {
                     fieldId : "nameId",
                     name : "name",
                     label : "cetelem.formEditProperties.name",

                     value : dynamique
                           requirementConfig: {
                                                                  initialValue: true
                                                            }
               }
}

It's easy with alfview and

"alfresco/renderers/Property"

but what about textBox value ?

1 Reply
redraccoon
Established Member

Re: Aikau setValue of textBox

is the solution is to clone the widget textBox and add js inside to make the job ?

like in this example Aikau/Tutorial5.md at develop · Alfresco/Aikau · GitHub  ?