I have an address input which I am trying to reset. I have tried setting the .value and calling the .resetValidityIndictor() function. This empties the field however when I click into the field the previous suggested addresses appear and the field does not function as i expect.
Any help much appreciated.
Which code has been used?
Did you use a → DATASET ?
You don’t give enough INPUT and this is exactly why you don’t get enought OUTPUT.
INPUT = INFORMATIONS
OUTPUT = ANSWERS
The code:
$w(‘#addressInput’).value=‘’;
$w(‘#addressInput’).resetValidityIndicator();
It is kinda there but maybe not explicit enough.
my apologies i was testing something when i copied my code:
$w(‘#addressInput’).value=null;
$w(‘#addressInput’).resetValidityIndicator();
I tried setting the value to any empty string which also did not work.