[RSS Feed/News] Templater adds "disabled" to "readonly" on select menus...

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom