小编Udh*_*mar的帖子

更改 intl-tel-input 字段宽度(以角度为单位)

I have using the Nebular ngx-admin template in my angular application. Also using ng2-tel-input for mobile number input. I am having the below HTML code

<div class="form-control-group">
          <label class="label" for="input-mobile">Mobile<span class="text-danger"> *</span></label>
          <input nbInput type="text" id="input-mobile" class="input-mobile" name="mobile" placeholder="Mobile" fullWidth fieldSize="large" formControlName="mobile" inputmode="numeric" digitOnly [status]="status(formcontrols.mobile)"
            ng2TelInput [ng2TelInputOptions]="{initialCountry: 'in'}">
</div>
Run Code Online (Sandbox Code Playgroud)

but after building the Angular application. it looks like the below code. I found it by developer tools in the browser

在此输入图像描述

Issue:

Unable to change the width of the input field …

intl-tel-input angular

7
推荐指数
1
解决办法
3948
查看次数

标签 统计

angular ×1

intl-tel-input ×1