We’re using the select options in order to create a drop-down list of options.
However we’re using this input field quite a lot within the same table.
Therefore we would like to determine the size of the drop-down menu so it would be easier to look at.
Is there a way to determine the size of the options list?
Like “as:select options” determines the list to choose from; can we also use a tag like as size?
As an example, I’ve posted part of my table.
Thanks a lot to help me out determining a fixed size.
Kind regards,
glenn
{% stripnewlines %}
|{% t “Did the company record any provisions/accruals?” %}
|{% input a3 as:select options:“Yes, for the first time|Yes, an increase|Yes, a decrease|No” option_values:“1|2|3|4” %}
{% endstripnewlines %}
{% stripnewlines %}
|{% t “Should this provision be considered taxable or tax exempt?” %}
| {% input a4 as:select options:“Taxable|Tax exempt” option_values:“1|2” %}
{% endstripnewlines %}
{% stripnewlines %}
|{% t “Did the company realise any capital gains on movable or immovable assets?” %}
| {% input a5 as:select options:“Yes|No” option_values:“1|2” %}
{% endstripnewlines %}
Is it possible to post the whole code? I think that your issue is hiding in your table options. As you will see in my screenshot, your code works fine for me.
Please find below the code of my table.
I’ve also posted below a screenshot of the code. The option list works fine however all the select options have a different size. That’s my problem.
Thanks a lot!
Kind regards,
Glenn
| |{% t “Checks - starting information” %}|
|-------------------------------------------|---------------------------------------:+
{% stripnewlines %}
|{% t “Did the company record a bad debt accrual?” %}
| {% input a1 as:select options:“Yes, for the first time|Yes, an increase|Yes, a decrease|No” option_values:“1|2|3|4” %}
{% endstripnewlines %}
{% stripnewlines %}
|{% t “Should this accrual be considered taxable or tax exempt?” %}
| {% input a2 as:select options:“Taxable|Tax exempt” option_values:“1|2” %}
{% endstripnewlines %}
{% stripnewlines %}
|{% t “Did the company record any provisions/accruals?” %}
|{% input a3 as:select options:“Yes, for the first time|Yes, an increase|Yes, a decrease|No” option_values:“1|2|3|4” %}
{% endstripnewlines %}
{% stripnewlines %}
|{% t “Should this provision be considered taxable or tax exempt?” %}
| {% input a4 as:select options:“Taxable|Tax exempt” option_values:“1|2” %}
{% endstripnewlines %}
{% stripnewlines %}
|{% t “Did the company realise any capital gains on movable or immovable assets?” %}
| {% input a5 as:select options:“Yes|No” option_values:“1|2” %}
{% endstripnewlines %}
The screenshot helped me understand what you meant before. Sadly the size of the dropdown menu is determined by the biggest option. The biggest the option phrase, the biggest the cell.