Templater adds "disabled" to "readonly" on select menus...

  • Thread starter Thread starter Jaxel
  • Start date Start date

Jaxel

Guest
Member
If I put the following code in a template:
<xf:textboxrow name="test_name" value="{$test.name}" readonly="readonly" />
I will properly get the following result:
<input type="text" class="input" readonly="readonly" name="test_name" value="my_value">

HOWEVER, If I put readonly="readonly" in an <xf:select menu, I get a slightly different result. I will instead get:
<select name="test_name" class="is-readonly input" disabled="disabled">
You'll notice there, that...

Read more
 
Top