Bug - Remove space character can not be removed from input field in IE

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug - Remove space character can not be removed from input field in IE

inanda.menezes
Hi,

It seems that there is a bug related to the string input field in Internet Explorer.

Steps to reproduce:
1 - add a space character to a string input field
2 - Remove the focus from the component
3 - Click in the component again


Problem: It's not possible to remove the space character. But the component is not empty, since the xpath expression control-1='' results in false.
Expected: The input field should show the space character, so that the user can remove it. It works fine in Firefox, but in IE it does not.

The work around I found to solve it, was to use the xpath function called 'normalize-space'.  

There is a form attached to help reproducing the problem.sample.txt
Reply | Threaded
Open this post in threaded view
|

Re: Bug - Remove space character can not be removed from input field in IE

Alessandro  Vernet
Administrator
Hi Inanda,

I have been able to reproduce this, and I added an issue track it:

https://github.com/orbeon/orbeon-forms/issues/682

Hopefully we can fix this one very soon.

Alex

On Wed, Jan 2, 2013 at 8:27 AM, inanda.menezes <[hidden email]> wrote:

> Hi,
>
> It seems that there is a bug related to the string input field in Internet
> Explorer.
>
> Steps to reproduce:
> 1 - add a space character to a string input field
> 2 - Remove the focus from the component
> 3 - Click in the component again
>
>
> Problem: It's not possible to remove the space character. But the component
> is not empty, since the xpath expression control-1='' results in false.
> Expected: The input field should show the space character, so that the user
> can remove it. It works fine in Firefox, but in IE it does not.
>
> The work around I found to solve it, was to use the xpath function called
> 'normalize-space'.
>
> There is a form attached to help reproducing the problem. sample.txt
> <http://orbeon-forms-ops-users.24843.n4.nabble.com/file/n4656159/sample.txt>
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Bug-Remove-space-character-can-not-be-removed-from-input-field-in-IE-tp4656159.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Bug - Remove space character can not be removed from input field in IE

Alessandro  Vernet
Administrator
Hi Inanda,

This one is now fixed: I just pushed a change to GitHub, and it will
be integrated in the next nightly and milestone builds. Also see the
comments on the bug if you're interested more details of why this is
happening.

Alex

On Thu, Jan 3, 2013 at 5:48 PM, Alessandro Vernet <[hidden email]> wrote:

> Hi Inanda,
>
> I have been able to reproduce this, and I added an issue track it:
>
> https://github.com/orbeon/orbeon-forms/issues/682
>
> Hopefully we can fix this one very soon.
>
> Alex
>
> On Wed, Jan 2, 2013 at 8:27 AM, inanda.menezes <[hidden email]> wrote:
>> Hi,
>>
>> It seems that there is a bug related to the string input field in Internet
>> Explorer.
>>
>> Steps to reproduce:
>> 1 - add a space character to a string input field
>> 2 - Remove the focus from the component
>> 3 - Click in the component again
>>
>>
>> Problem: It's not possible to remove the space character. But the component
>> is not empty, since the xpath expression control-1='' results in false.
>> Expected: The input field should show the space character, so that the user
>> can remove it. It works fine in Firefox, but in IE it does not.
>>
>> The work around I found to solve it, was to use the xpath function called
>> 'normalize-space'.
>>
>> There is a form attached to help reproducing the problem. sample.txt
>> <http://orbeon-forms-ops-users.24843.n4.nabble.com/file/n4656159/sample.txt>
>>
>>
>>
>> --
>> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Bug-Remove-space-character-can-not-be-removed-from-input-field-in-IE-tp4656159.html
>> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>
>
>
> --
> Follow Orbeon on Twitter: @orbeon
> Follow me on Twitter: @avernet


--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet