dank42
October 9, 2020, 3:23pm
1
Not sure if this is a bug or something I’m doing wrong but when I use, for example:
Set-UDElement -Id 'txtfirstName' -Properties @{
Value = $firstName
}
The actual value of the textbox is still null when I view the $body (this is in a New-UDForm )
Is this something I’m doing wrong? As a workaround, I’m having to get the value again by using:
$Value = (Get-UDElement -Id 'txtfirstName').value
in the -OnSubmit block
adam
October 9, 2020, 5:35pm
2
Seems like a bug. It’s not updating the “form context” that we use internally to track state so that’s why it’s failing to return in $body
dank42
October 9, 2020, 5:52pm
3
Ah okay, thanks for the clarification.
dank42
October 31, 2020, 12:34pm
4
Hi Adam, is there any update on a fix for this?
adam
October 31, 2020, 2:48pm
5
Sorry this hasn’t been resolved yet. I will make sure it makes its way into 1.4.7.
1 Like
dank42
November 3, 2020, 9:17am
6
Working fine in 1.4.7 many thanks.
dank42
November 23, 2020, 4:41pm
7
Hi Adam, just updated to 1.5.2 and I think this may of returned again.
See below gif
Cheers,
Dan
dank42
November 28, 2020, 6:41pm
8
Hi Adam, not sure if you have seen my latest response to this one?
Not sure if this bug has returned in 1.5.2? Can you clarify?
Many thanks,
Dan
adam
November 30, 2020, 5:37pm
9
Sorry for the delay. Just getting back at it from the holiday. I’ll take a look today.
1 Like
adam
December 2, 2020, 10:40pm
10
Just an update on this. I can reproduce this issue and it’s a regression. Unfortunately, the code that was used to fix the originally hasn’t changed so trying to track down what is affecting it.
1 Like
dank42
December 3, 2020, 7:04am
11
Okay thanks for the update
adam
December 3, 2020, 4:46pm
12
Solved. This will be in the 1.5.4 build and is in the nightly build. Apologies for that regression.
1 Like
dank42
December 3, 2020, 4:50pm
13
Brilliant, thanks for sorting that so quickly