Topic: Problem in select box
sdhakad pro asked 7 years ago
Dawid Adach pro answered 7 years ago
sdhakad pro commented 7 years ago
Still i have same issue. check the code <div class="md-form"> <mdb-select [options]="gender" placeholder="Choose your option" formControlName="gender" class="form-control" [ngClass]="signupForm.controls['gender'].invalid && signupForm.controls['gender'].touched ? 'invalid': 'valid'" mdbActive></mdb-select> <label class="active" for="gender">Gender</label> </div>Dawid Adach pro commented 7 years ago
Dear sdhakad, does simple input works for you? If you take basic example from here, does label goes up? https://mdbootstrap.com/angular/components/inputs/ I am trying to isolate the issue.sdhakad pro commented 7 years ago
simple input works but mdb-select not work.manimurugan free commented 7 years ago
@Dawid Adach When we use keyboard filter that options that is not working. This is basic selectbox properties. I there are more than 100 option is there mean that must need to suuport keyboard type filterDawid Adach pro commented 7 years ago
Dear sdhakad, please check following code: <pre> <div class="md-form"> <label class="active" for="gender">Gender</label> <mdb-select [options]="optionsSelect" id="gender" name="gender" placeholder="Choose your option" class="form-control" ></mdb-select> </div></pre> @manimurugan, currently we do not support key filtering, we will add it to our ideas.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: Yes