Sage/argos-sdk

Getting ctor is not a constructor error

rjledger opened this issue · 2 comments

Edit.js line 232

Within the past couple days there have been several changes to the way the input controls are built. This included changes to argos-sdk and argos-saleslogix:

argos-sdk/src/Controls/TextAreaField.js --- added

and this commit to argos-saleslogix:

https://github.com/SageScottsdalePlatform/argos-saleslogix/commit/7ecf1a69217a054233d39884288b4bc845014152

The change was to the TextField class to take an additional parameter of 'inputType' to specify the input type="x", this way we could introduce the HTML5 keyboard recognition.

I would make sure that both argos-sdk and argos-saleslogix are up to date and that any custom views that use a text area control are switched over to type: 'textarea' in the createLayout function.

Some examples:

        {
            name: 'password',
            label: this.passText,
            type: 'text',
            inputType: 'password'
        },

or for text area:

            {
                name: 'Text',
                label: this.longNotesText,
                cls: 'row-edit-text',
                type: 'textarea'
            }

A-ok now - my bad...