Unable to switch language in Firefox only in input-password - firefox

Have a very strange issue that I haven't encountered before,
Take for example: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_submit and replace the input type=text to password like this:
<form action="/action_page.php">
First name: <input type="text" name="FirstName" value="Mickey"><br>
Last name: <input type="password" name="LastName" value="Mouse"><br>
<input type="submit" value="Submit">
</form>
For some reason, in Firefox only I'm unable to switch the languages for the input[type=password], therefor, my passwords don't work in the app, in every other browser the password input works fine with switching the language ...
Also, in FF, if I change the input back to text - then I'm able to switch languages ...
I'm using MacOSX & Firefox Quantum 65.0.1 (64-bit)
Any ideas ?

A similar bug in Mozilla under Mac Can't switch keyboard layout on input type="password" is closed as invalid, but it seems under Ubuntu it's a bug indeed.

Related

Phonegap file selection with only images and camera

I'm using an input type="file" field in my phonegap mobile app with accept="image/*" set, however the Android file selector keeps showing "Voice Recorder" and "Camcorder" as shown in the screenshot below. Is there a way to fix this without the use of a filepicker plugin? If no, which plugins should I use/are up to date (iOS and android)?
<input type="file" name="photo" onchange="myfunc();" accept="image/*;" >
Screenshot:
"Choose an action" file selector on Android
There is a small error in your code. accept="image/*;". There is a semicolon ; in your code. The correct way should be like
<input type="file" name="photo" onchange="myfunc();" accept="image/*" >

Visual Studio Format Document inserts tab after data-bind

cshtml files with more than one data-bind on a line get a tab (four spaces) insterted after the >data-bind="<. This happens when Visual Studio does "Format Document". And is therefore reproducible by Edit->Format Document.
Only the additional data-binds have this, so the 2nd and 3rd get spaces added while the first remains normal:
<input type="checkbox" data-bind="checked: Active" /><span data-bind="text: firstName"></span><span data-bind="text: lastName"></span>
Changes into:
<input type="checkbox" data-bind="checked: Active" /><span data-bind=" text: firstName"></span><span data-bind=" text: lastName"></span>
It's not a huge problem, stuff can be placed on seperate lines, but still annoying.
Edit: Since vs2013 I no longer have this problem. That also seems to have fixed another problem where vs would randomly decide to move my carret and type some spaces.
I am working with Visual studio 2012, and I don't facing this problem.
May be you could try to reset your VS settings.
If it doesn't work, I will post my settings.

Curtain.js getting "stuck"

i am trying to use the Curtain.js plugin on a website i am making for a friend.
The site is still not ready, there are some "pages" missing, but today i noticed that there is something wrong.
When i preview the website on Safari (5.7.1) the website gets "stuck" between two of the pages. it never goes down to the third page...
I also notice that during the "scrolling" from the first to the second, something strange happens to the scrollbar!
When i preview the website on Chrome it works fine.
Do you see this problem also? in other browsers?
Any ideas what is happening here and how to fix it?
I don't have a clue where the problem is, so i don't know what code to post, but here is the link for a "test page" of the website:
http://popo.webatu.com/hottalent_test/TalentShow.html
Thank you!
ok, i think i found it!
Maybe other people have the same problem, so i'll post here what the problem is.
in my contact form, i had this:
<label><span class="formQuestion">Name:</span>
<input placeholder="Your name" type="text" tabindex="1" required autofocus>
</label>
i tried many things, and i noticed that when i remove the "AUTOFOCUS" from that input things seem to work fine.
so now my code looks like:
<label><span class="formQuestion">Name:</span>
<input placeholder="Your name" type="text" tabindex="1" required>
</label>
Any ideas why this is so?
Hope maybe some day this is helpful to someone else! ;)

visual studio 2010 - webform design (buttons)

Is there any way to place a row of buttons or link buttons next to each other on a webform without a white space showing between them when viewed in the browser?
thanks again
Well, for starters once you get to the "when viewed in the browser" stage in the process, you're well outside of Visual Studio and into straight HTML/CSS. In HTML/CSS, this can be done:
<input type="button" value="test" /><input type="button" value="test" /><input type="button" value="test" /><input type="button" value="test" /><input type="button" value="test" />
and
input { margin: -1px; }
Using CSS is generally the best way to do this, rather than trying to come up with some custom thing within Visual Studio. It's more native to the target platform, the web browser. The CSS in my example would cover all input elements on the page, of course, so you probably don't want that. But if you can uniquely identify your rendered buttons (perhaps input elements within a div of a known id?) then you can apply that style only to them.

Struts2 Select UI tag: problem with rendering in Firefox with selected item

I have problem with Struts2 select UI tag. Firefox doesn't show selected item. I have code in JSP:
<s:select list="allCategories" value="2" listKey="id" listValue="categoryName" name="selectedCategory" key="shortcut.add.category" required="true" />
It renders into:
<select gtbfieldid="49" name="selectedCategory" id="inputShortcuts_selectedCategory">
<option value="1">23456</option>
<option value="2" selected="selected">Catg1</option>
<option value="3">updated</option>
<option value="6">Category</option>
</select>
When I open this action in IE, it renders fine (option Catg1 is selected by default). But Firefox (3.6) shows first option as selected. How can I resolve it? I use xhtml theme of Struts2.
Your generated HTML displays correctly for me in Firefox 3.6.11. Have you confirmed that you are not viewing a cached version of the page? I see that gtbfieldid is being added to the rendered output. Isn't that from Google Toolbar? Perhaps that is interfering with something?
I can't see anything visibly wrong with your select element that would prohibit it from working properly in any browser.

Resources