Issue Bug Closed

#88017static::class in <f:form.select>

Bill Dagou 03/27/19, 09:50 updated 05/07/19, 12:10

Description

When I use subclass of SelectViewHelper with <f:form>, the value will not be passed, because of the <code>static::class</code> in <code>SelectViewHelper</code> and <code>SelectViewHelper::class</code> in <code>OptionViewHelper</code>.</f:form>

Something like

<foo:form.select name="select" value="2">
    <f:form.select.option value="1">Option 1</f:form.select.option>
    <f:form.select.option value="2">Option 2</f:form.select.option>
</foo:form.select>

So, I think it should be self::class rather than static::class.

Reviews 2