Loading...

select

< Back To DOCS

Purpose

The <select> element allows end user to select from a drop-down list. Whenever the value is updated in firebase, the value on your web page will update too without even hitting refresh. If the select element id does not exist in firebase, firefight will automatically add it to firebase. HTML and firefight require all ids to be unique.

Sample: simple text

HTML


            

Result

Firebase emulator

  • selectedValue:

Select something from the drop-down list and notice the value in the Firebase emulator change.

< Back To DOCS