Click here to Skip to main content
15,123,923 members
Home / Discussions / JavaScript
   

JavaScript

 
Questionimport declarations may only appear at top level of a module Pin
jkirkerx19-Oct-20 10:38
professionaljkirkerx19-Oct-20 10:38 
AnswerRe: import declarations may only appear at top level of a module Pin
jkirkerx19-Oct-20 11:16
professionaljkirkerx19-Oct-20 11:16 
QuestionGetting a textbox in another frame Pin
jkirkerx18-Oct-20 13:18
professionaljkirkerx18-Oct-20 13:18 
Answer[abandon] the idea Pin
jkirkerx19-Oct-20 10:29
professionaljkirkerx19-Oct-20 10:29 
AnswerRe: Getting a textbox in another frame Pin
DerekT-P19-Oct-20 10:46
professionalDerekT-P19-Oct-20 10:46 
GeneralRe: Getting a textbox in another frame Pin
jkirkerx19-Oct-20 11:12
professionaljkirkerx19-Oct-20 11:12 
QuestionVirtual populate in JS Pin
adids122123-Sep-20 2:38
Memberadids122123-Sep-20 2:38 
QuestionSetting max length property of masked input control in ember js Pin
simpledeveloper22-Sep-20 6:45
Membersimpledeveloper22-Sep-20 6:45 
input component in ember as below:
{{#each tags as |tag index|~}}
    <li class="emberTagInput-tag">
        {{yield tag}}
        {{#if _isRemoveButtonVisible}}
        <a class="emberTagInput-remove" {{action 'removeTag' index}}></a>
        {{/if}}
    </li>
    {{~/each~}}
    
    <li class="emberTagInput-new">
        {{masked-input
        disabled=readOnly    
        class=(concat 'emberTagInput-input js-ember-tag-input-new' (if readOnly ' is-disabled'))
        maxlength='20'
        textMaxLength='20'
        placeholder=placeholder
        input-format='regex'
        input-filter='[A-Za-z0-9\ \-@#]{1,20}'
        input-filter-message='Complaint Id is not valid.'
        }}
    </li>

And I am using it in my hbs files as below:
<div class="col-md-2">
            <div class="form-group">
            <label for="due-date" class=" control-label">Complaint Id</label>
            {{#tag-input
            maxlength=20
            tags=tags
            addTag=(action 'addNewTag')
            removeTagAtIndex=(action 'removeTagAtIndex')
            as |tag|
            }}
            {{tag}}
            {{/tag-input}}
           </div>
        </div>

I want to set max length for the input that I enter as text in the textbox that comes with this component, any help please which property sets the max length that one can enter in it? Thanks a lot please.
AnswerRe: Setting max length property of masked input control in ember js Pin
ZurdoDev22-Sep-20 7:07
professionalZurdoDev22-Sep-20 7:07 
QuestionNeed to mask Alphanumeric values with some special characters allowed Pin
simpledeveloper9-Sep-20 11:02
Membersimpledeveloper9-Sep-20 11:02 
AnswerRe: Need to mask Alphanumeric values with some special characters allowed Pin
W Balboos, GHB11-Sep-20 9:59
mveW Balboos, GHB11-Sep-20 9:59 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
simpledeveloper21-Sep-20 9:14
Membersimpledeveloper21-Sep-20 9:14 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
W Balboos, GHB21-Sep-20 10:07
mveW Balboos, GHB21-Sep-20 10:07 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
simpledeveloper21-Sep-20 10:28
Membersimpledeveloper21-Sep-20 10:28 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
W Balboos, GHB22-Sep-20 3:27
mveW Balboos, GHB22-Sep-20 3:27 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
simpledeveloper22-Sep-20 6:47
Membersimpledeveloper22-Sep-20 6:47 
GeneralRe: Need to mask Alphanumeric values with some special characters allowed Pin
W Balboos, GHB22-Sep-20 6:53
mveW Balboos, GHB22-Sep-20 6:53 
GeneralPixelated in javascript Pin
Hasan Moussawi8-Sep-20 21:52
MemberHasan Moussawi8-Sep-20 21:52 
QuestionI have HTML and jQuery as below, I want to convert that into EmberJS Pin
simpledeveloper8-Sep-20 10:44
Membersimpledeveloper8-Sep-20 10:44 
SuggestionRe: I have HTML and jQuery as below, I want to convert that into EmberJS Pin
ZurdoDev9-Sep-20 11:36
professionalZurdoDev9-Sep-20 11:36 
GeneralRe: I have HTML and jQuery as below, I want to convert that into EmberJS Pin
simpledeveloper9-Sep-20 12:47
Membersimpledeveloper9-Sep-20 12:47 
QuestionFilter the JSON object Pin
kasimmohamed5-Sep-20 6:11
Memberkasimmohamed5-Sep-20 6:11 
QuestionHow to redirect in IE 11 Pin
huhuhhuhuh2-Sep-20 2:13
Memberhuhuhhuhuh2-Sep-20 2:13 
AnswerRe: How to redirect in IE 11 Pin
Richard Deeming2-Sep-20 3:52
mveRichard Deeming2-Sep-20 3:52 
AnswerRe: How to redirect in IE 11 Pin
huhuhhuhuh3-Sep-20 7:13
Memberhuhuhhuhuh3-Sep-20 7:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.