Skip to content

Some templates are missing common properties like id #1028

@mvorisek

Description

@mvorisek

Templates like admin.html/pug are missing id property.

Is that intentional?

Element properties like id, data, ... has almost nothing to do with styling and if user/programmer wants to add them, it should be always possible no matter if defined in the template or not.

This is a feature request to introduce some special template parameter like {$implicit_props} which can be easily added to all templates and then the common html properties can be added with one centralized code from View. Another option might be to always parse the template and set the common properties by DOM (which is not easy, as templates might not be always be valid html).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions