Input[type="search"] is not clearing after 'X' is clicked.
Posted: Thu Jul 25, 2019 9:54 am
Hi all,
I'm having an issue when using the textbox widget in Visual Designer. It seems that the 'X' to clear the input is only clearing it from the UI, but not actually clearing the value that is stored. I am setting the property "input type" to search in the textbox widget, by the way.
In the above snippet, the Input on the left is just taking a string and outputting it to the right after I hit the enter key. I start off with typing "Test 1" and hitting enter, with "Test 1" being output on the right. That works fine. Then I do the same with "Test 2" and "Test 3". That works fine as well.
Now, when I hit the 'X' to clear the Input, it shows that it is cleared in the UI, but when I hit enter, it seems to just populate back with the previous string that was in there, and it doesn't clear on the right either.
Can anyone figure out why this is happening?
Thank you.
I'm having an issue when using the textbox widget in Visual Designer. It seems that the 'X' to clear the input is only clearing it from the UI, but not actually clearing the value that is stored. I am setting the property "input type" to search in the textbox widget, by the way.
In the above snippet, the Input on the left is just taking a string and outputting it to the right after I hit the enter key. I start off with typing "Test 1" and hitting enter, with "Test 1" being output on the right. That works fine. Then I do the same with "Test 2" and "Test 3". That works fine as well.
Now, when I hit the 'X' to clear the Input, it shows that it is cleared in the UI, but when I hit enter, it seems to just populate back with the previous string that was in there, and it doesn't clear on the right either.
Can anyone figure out why this is happening?
Thank you.