cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KoBe321
Level: Powered On

Custom component: Input binding doesn't work

When modifying the value of an input field through 'Data Inputs' the new value is not always updated in the UI.

See details here:

https://github.com/MicrosoftDocs/powerapps-docs/issues/776

1 ACCEPTED SOLUTION

Accepted Solutions
KoBe321
Level: Powered On

Re: Custom component: Input binding doesn't work

Thanks, but the issue was different:

In the docs link the value is of the input field is set using

 this.inputElement.setAttribute("value", newValue);

But in the examples you linked the following is used

 this.label.value = newValue;

This way the change detection is triggered. 

View solution in original post

2 REPLIES 2

Re: Custom component: Input binding doesn't work

 
KoBe321
Level: Powered On

Re: Custom component: Input binding doesn't work

Thanks, but the issue was different:

In the docs link the value is of the input field is set using

 this.inputElement.setAttribute("value", newValue);

But in the examples you linked the following is used

 this.label.value = newValue;

This way the change detection is triggered. 

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,562)