Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

🔹 Description

To follow

🔹System Dependencies

🔹 Installation

The package can be installed via npm:

npm install empower-inputs --save

🔹 Standard Minutes

Configuration

import { InputSelectionHandler} from 'empower-inputs';

let [formElement, setFormElement] = useState({
      sampleMinutes: {
        id: 'sampleMinutes',
        type: 'minutes',
        label: "Sample Minutes",
        maxMins: '59',
        value: '',
        placeholder: '-',
        readOnly: false,
        required: true,
        disabled: false,
    }
});

..............

return (
    <>
       <InputSelectionHandler
          config={formElement.sampleMinutes}
          onChanged={(e) => inputChangedHandler(e, 'sampleMinutes')}
        />
    </>
  )

🔹  Properties

Parent Parameter

Sub Parameter

Data Type

Constraint

config

JSON Object

Required

id

String

Required

type

String

Required

label

String

Optional

value

Array Object

Required

placeholder

String

Optional

readOnly

Boolean

Optional

disabled

Boolean

Optional

required

Boolean

Optional

maxMins

String

Required

customClass

String

Optional

onChanged

Event Method

Required

🔹 References

Repository Link: https://bitbucket.org/empowerteams/empower-inputs

NPM Package: npm: empower-inputs

Demo Repo: git@bitbucket.org:empowerteams/mfe-sub-application-template.git

  • No labels