Jump to content


Photo

Editable Combobox?

TW3ComboBox

  • Please log in to reply
2 replies to this topic

#1 recursiveElk

recursiveElk
  • Members
  • 36 posts

Posted 13 September 2017 - 11:34 PM

Was just wondering if there is any solutions to making, say, and "Other" field, that when selected turns the combobox into an edit box?

#2 Igor Savkic

Igor Savkic
  • Members
  • 185 posts

Posted 14 September 2017 - 12:48 AM

> Was just wondering if there is any solutions to making, say,
> and "Other" field, that when selected turns the combobox into an edit box?

You can turn editbox into combo, take a look at datalist tag where you can specify list of values.
https://www.w3school...ag_datalist.asp

Existing RTL doesn't have it, but perhaps new one has support for it. If not you can do something yourself, perhaps easiest is to directly replace innerHTML for editbox.
  • recursiveElk likes this

#3 recursiveElk

recursiveElk
  • Members
  • 36 posts

Posted 14 September 2017 - 01:52 AM

Thanks this should work.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users