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

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
Highlighted
Helper I
Helper I

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
Highlighted
Resolver I
Resolver I

Re: Custom component: Input binding doesn't work

 
Highlighted
Helper I
Helper I

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (8,802)