cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

update Textinput value based on selected value of list box

Hi, 

 

I generated a text input box (Textinput1) and a list box (Listbox1). 

 

The Listbox1 will show a batch of data which was filtered in the source database based on the input of Textinput1.

1.png

What I want is to set the Textinput1 value to the selected value in Listbox1. I have tried to set Textinput1 default value as ListBox1.Selected.Material. It works in another textinput2 But not work in textinput1. Here is the error message.

2.png

 

do anyone know how to set the textinput1 value to the selected value in the list box which was filtered based on textinput1 itself? 

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper II
Helper II

Re: update Textinput value based on selected value of list box

Hi, 

 

This has been resolved when I create a variable to store the item which is selected in list box and set the input box default as the variable. 

 

Thanks!

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: update Textinput value based on selected value of list box

@JackWu1123 

Your question was:  "Do anyone know how to set the textinput1 value to the selected value in the list box which was filtered based on textinput1 itself? "

 

This is the definition of a circular reference.  You cannot:

  • Use control A 
  • To set control B
  • Which sets control A

 

You many only:

  • Use control A
  • To set control B
  • (Which optionally sets control C)

 

Note: A, B, C are made up control names for the purpose of a basic example

 

 ---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Highlighted
Helper II
Helper II

Re: update Textinput value based on selected value of list box

Hi, 

 

This has been resolved when I create a variable to store the item which is selected in list box and set the input box default as the variable. 

 

Thanks!

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,543)