Element height

What do you mean with "Can not go head to head instead of dots ???"

This is what your code is doing
...
if (text.length > 100) {
return text.substr(0, 100) + '...';
...

So if you want something else change the code.
 
The text is long. Instead of the dots it must go to head, always in the span12 field size
 

Attachments

  • 2017-06-19 (2)_LI.jpg
    2017-06-19 (2)_LI.jpg
    154.8 KB · Views: 36
That can't be done, as there is no way of knowing how wide any given text is, as it depends on font size, weight, etc. All you can do it truncate it to some specific number of characters. Not a Fabrik issue, just a well known issue with HTML and CSS with select (dropdown) options.

You can modify the number of characters to truncate to by changing the 100 in both places in that code. And you can remove the ... by removing the "+ '...'" part.

-- hugh
 
it's very problem!!!

Which solution as an alternative?

By making the PRO logging help me solve the problem with css / html?
 
I'm still not sure what you are wanting me to do.

There is no way in HTML or CSS, that works across the major browsers, of changing how a dropdown displays long text, or constraining it to a specific width. If your dropdown option text is too long, the ONLY thing you can do is truncate the text to a pre-specified number of characters.

This isn't a Fabrik issue, it's just how HTML works.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top