mdb-ui-kit icon indicating copy to clipboard operation
mdb-ui-kit copied to clipboard

ng-repeat generated radio button doesn't show

Open kiga01 opened this issue 11 years ago • 2 comments

hello everyone, i have this bug, im trying the library, and doesn't work right, i have a couple of radio buttons dinamically generates with angular, when i try to see it, i just can see the label, but notthing else.

any help or guide so i can try to fix this?

thank u,

        <di v class="radio" ng-repeat="(key, structure) in structures">
            <label >
                <inpu t type="radio" value="{{key}}" ng-model="model.structure" ng-change="changeStructure(key, structure)"> {{key}}
            </labe l>

kiga01 avatar Jul 23 '15 19:07 kiga01

Make sure that the bottom of your file you are calling

    <script>
        $(document).ready(function() {
            $.material.init();
        });
    </script>

As this is required if you want to initialize material design on to dynamically generated elements.

BrennanMcDonald avatar Jul 30 '15 01:07 BrennanMcDonald

Same happens to me but I think it was design as expected. You have to include arrive.js before bootstrap-material-design.js

majorvin avatar Sep 17 '15 20:09 majorvin