Skip to content

t-att-value VS t-attf-value on input #1701

@kebeclibre

Description

@kebeclibre

Currently we have:

// Sets the props "value" (input.value = val)
<input t-att-value="val" />

// Sets the attribute "value" (input.setAttribute("value", val))
<input t-attf-value="{{ val }}" />

This is highly error prone.

Aim of this issue: harmonize the behavior so that the two ways to write do the same thing.
This is also valid for the other props (readonly, disabled etc....)

linked to opw-4979203

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions