TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

HTML addin, addmissing option does not select the added item.

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Sheepy
Date: 2013-09-03
Time: 08:34

HTML addin, addmissing option does not select the added item.

HTML addin, addmissing option does not select the added item.

In HTML addin, when using the addmissing parameter when merging select list, the missing option(s) are created but not selected like existing option(s).

Bug or by design?
By: Sheepy
Date: 2013-09-04
Time: 06:26

Re: HTML addin, addmissing option does not select the added item.

Sorry I figured it out after tracing the source; the option tag with select parameter would be used as is, which means I need to put by selected attribude in it.

Make sense. Problem solved. Sorry for the problem.