Skip to Content

Read single Input field and pass it second view

How to pass single input value from one view to another in ui5

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jan 16 at 05:59 AM

    The data is passed between views through the usage of variables in the model which are commonly bound to views. The concept of data binding ensures that data entered on screen is available in model and vice versa.

    Using the same model in another view will ensure new view has the same data.

    Regards,

    Sharath

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 16 at 03:27 AM

    Hi Mahimna ghanekar,

    You can either use the concept of local storage or, you can pass the value as an argument to a function. Could you elaborate some more on your requirements.

    Regards,

    Arjun Biswas

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 19 at 02:49 PM

    You can use either to two ways:

    1. Using routing: Pass the parameters in navTo function while navigation from first view to second.

    2. You can use sap.ui.datatransfer to transfer values

    Regards,

    Ankur

    Add comment
    10|10000 characters needed characters exceeded