Skip to main content
Question

Hi, The input I insert in my input box disappears once I leave the page. What could I be missing?

  • April 29, 2024
  • 4 replies
  • 12 views

bennita.dutoi12
Level 7
Forum|alt.badge.img+6

Here is my YAML code

id: input-box-1d9cff2d-89eb-4104-9954-e79ad9fb5b9a

type: input-box

settings:

  type: number

  onChange:

    update:

      variables:

        - name: FTE_cost

 

4 replies

Sverre Klein
Level 10
Forum|alt.badge.img+14

Hi @bennita.dutoi12,

 

I took this for the Celonis documentation. https://docs.celonis.com/en/input-box.html

 

I think the placeholdertext key can help to have an example of the input text for the user. Is this what you mean?

 

- id: input-box

 type: input-box

 settings:

   styles:

     position:

       horizontal: right

       vertical: bottom

   placeholderText: Type your text here

   type: string

   onChange:

     update:

       variables:

         - name: textinput

           

Kind regards,

Sverre Klein


bennita.dutoi12
Level 7
Forum|alt.badge.img+6

Hi @bennita.dutoi12,

 

I took this for the Celonis documentation. https://docs.celonis.com/en/input-box.html

 

I think the placeholdertext key can help to have an example of the input text for the user. Is this what you mean?

 

- id: input-box

 type: input-box

 settings:

   styles:

     position:

       horizontal: right

       vertical: bottom

   placeholderText: Type your text here

   type: string

   onChange:

     update:

       variables:

         - name: textinput

           

Kind regards,

Sverre Klein

thanks Sverre, unfortunately it also doesn't work - the text that is then inserted still disappears once I leave the page.


Sverre Klein
Level 10
Forum|alt.badge.img+14

Alright, that is odd, could you provide some screenshots (or video) of what is happening? Are you for instance saving your changes when you leave the page?


bennita.dutoi12
Level 7
Forum|alt.badge.img+6

Alright, that is odd, could you provide some screenshots (or video) of what is happening? Are you for instance saving your changes when you leave the page?

Apologies Sverre, your solution did work, i applied it wrong the first time. thank you so much