Closed Bug 1128721 Opened 10 years ago Closed 7 years ago

disable <option> on <select> element

Categories

(Firefox OS Graveyard :: Gaia::System::Input Mgmt, defect)

defect
Not set
normal

Tracking

(feature-b2g:3.0?, tracking-b2g:+)

RESOLVED WONTFIX
feature-b2g 3.0?
tracking-b2g +

People

(Reporter: luigui, Assigned: h.thakral369)

Details

(Whiteboard: [lang=js])

Attachments

(1 file)

Attached image ss_select.png
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20150122214805 Steps to reproduce: I try disable one item on my <select>[1] element with this code <option disabled>-------------</option> and <option disabled='disabled'>-------------</option> [1]https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select Actual results: Nothing. Gaia continues accepting this option like a valid option, I can select it... In the browser it's impossible... Expected results: I guess that <option> cannot be selectable... I tested this and found this 'bug' on my Alcatel One Touch Fire running Firefox OS 'Boot2Gecko 1.3.0.0-prerelease' Sorry if i put this bug on the wrong place, it's my first bug here. All the best.
Summary: disable option on select element → disable <option> on <select> element
Adding some guys that are more powerful than me :P
Value selector, maybe input mgmt stuff.
Status: UNCONFIRMED → NEW
feature-b2g: --- → 3.0?
tracking-b2g: --- → +
Component: Gaia::Components → Gaia::System::Input Mgmt
Ever confirmed: true
Hi Luigui, Are you interested in contributing? We would need to investigate if System app receives enough information to tell the option should disable, if not, we would have to patch Input Method API too. Both of these stuff are written in JS.
Mentor: timdream
Flags: needinfo?(luigui)
Whiteboard: [lang=js]
hi everyone! , i want to work on this bug, how should i proceed? it will be my first. advance Thanx :)
Assigned. You'll need to learn how to run your own Gaia build on a B2G device of Desktop. https://github.com/mozilla-b2g/gaia After that, with the stated STR, probe the System app value selector to see if it's getting the enough information to tell which option is disabled. If so, let's ask for UX input and reflect that information on the control. If not, we would need to patch Gecko so that input method API could pass the information. Please needinfo me on the specifics if you are stuck on any of the steps.
Assignee: nobody → h.thakral369
Status: NEW → ASSIGNED
Flags: needinfo?(luigui)
i am bit confused in running my own Gaia build should i follow these steps: https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia#B2G_Desktop or these https://developer.mozilla.org/en-US/Firefox_OS/Building_the_B2G_desktop_client don't know the diffrence b/w the two.
There are many Gecko builds that could run Gaia, and you don't need to build and of them. I would recommend you to run Gaia with Firefox Mulet, which can be downloaded here: https://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/
Firefox OS is not being worked on
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: