Jump to content

Topic on Extension talk:InputBox

inline=true doesn't work

3
Summary by Ciencia Al Poder
2A00:801:70:3:A155:52C6:C8A3:BD40 (talkcontribs)

No matter what I do the "inline=true" doesn't seem to have any effect. It always renders a linebreak regardless. It also seems strange that "labeltext=" isn't allowed on the "create" type...


What I want is an actual labeltext item, that is centered vertically with the input form and button, precisely as it appears in the example for "inline=true".

Ciencia Al Poder (talkcontribs)

Looks like it's a bug. The inline=true only seems to work when the inputbox appears inside a table cell. Otherwise the inputbox is always presented on its own line: test.

FrozenPlum (talkcontribs)

I just ran across this. As a workaround, I added an ID to the parameters to target, then in my CSS hid the break element:

#myID br {
     display:none;
}

Such a small thing to fix, but I see the phab ticket (and this thread) is pretty old. I'm quite surprised there's no class implementation yet, it's the first thing I looked for. Class goes hand in hand with ID, so now we've templated different types of inputboxes to wrap them in divs that accepts a class. ¯\_(ツ)_/¯

Reply to "inline=true doesn't work"