Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Missing ng-checked for booleans in form #4

@michelnl

Description

@michelnl

There is an issue with the checkboxes in form.html.

< input ng-if="item.type=='boolean'" ng-visible="item.readable" ng-enabled="item.writable"
type="checkbox" class="form-control" placeholder="{{item.name}}"
ng-model="taskDetailed.propertyForSaving[item.id].value" style="width:16px;">

with ng-checked it will show when true or false:

< input ng-if="item.type=='boolean'" ng-visible="item.readable" ng-enabled="item.writable"
type="checkbox" class="form-control" placeholder="{{item.name}}"
ng-model="taskDetailed.propertyForSaving[item.id].value" style="width:16px;" ng-checked="{{item.value}}">

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