krescruz / krescruz/angular-materialize

Material select is not enabled on button click

Open
#213 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
HTML
Stars
387
Forks
126
PR merge metrics
No merged PRs in 30d

Description

I have a material select which binds the data using angular, on page load I disabled the Material select, on button click am enabling the material select.

Issue : Material Select is not enabled

````HTML





Update Form





First Name


Last Name




Email




{{value}}










var app = angular.module('materializeApp', ['ui.materialize'
.controller('BodyController', ["$scope", function ($scope) {
$scope.projects = {
value: "Select Value",
choices: ["p1", "p2", "p3", "p4"]
};

debugger;
$scope.checked = true;
$scope.edit = function () {
$scope.checked = false;
}

}]);

````

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the provided AngularJS example, focusing on the material-select directive and the edit() click handler that changes checked from true to false. Verify the directive's behavior when ng-disabled changes after page load; done means the Material select becomes usable after clicking Edit.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.