Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Remove logging when ngModel is missing from the directive instance #401

Open
@sszdh

Description

@sszdh

Hi there,
I think, in case of using ui-sortable without ng-repeat, ngModel in directive definition should be optional and no log should be thrown in console.

Case of ng-repeat-free:

<ul ui-sortable="uiSortableProperties">
<% @items.each do |item| -%>
    <li class="movable">
        <%= item.text %>
    </li>
<% end -%>
    <li>....</li>
<ul>

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