Input[type="search"] is not clearing after 'X' is clicked.

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
fcalizo
New User
Posts: 10
Joined: Tue Oct 09, 2018 4:34 pm
First Name: Francis
Last Name: Calizo
Company Name: Banyan Air
Contact:

Input[type="search"] is not clearing after 'X' is clicked.

Post by fcalizo »

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.

Image

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.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Input[type="search"] is not clearing after 'X' is clicked.

Post by Scott Klement »

I've never used this before.

It sounds like you're enabling a feature of the underlying html element to clear itself. This would be fine if you were coding your own html, but there's more to a profound ui widget than just one html tag, it's multiple tags working together as well as a javascript framework that tracks information internally. Simply clearing one element without updating all the other corresponding stuff would not work right.

You have two choices:

1) Report this as a bug to Profound Support, and they will consider whether its possible to make the widget recognize the clear button and work properly.

or

2) Don't use this feature.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests