@ukhomeoffice/cop-react-form-renderer 4.81.0 → 4.81.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -159,9 +159,12 @@ var getTextArea = function getTextArea(config) {
|
|
|
159
159
|
};
|
|
160
160
|
var getTextInput = function getTextInput(config) {
|
|
161
161
|
var attrs = (0, _cleanAttributes.default)(config);
|
|
162
|
-
var
|
|
162
|
+
var classModifiers = attrs.fixedWidth ? [attrs.fixedWidth] : [];
|
|
163
|
+
var className = attrs.fluidWidth ? [attrs.fluidWidth] : undefined;
|
|
163
164
|
return /*#__PURE__*/_react.default.createElement(_copReactComponents.TextInput, _extends({}, attrs, {
|
|
164
|
-
|
|
165
|
+
classBlock: INPUT_CLASS,
|
|
166
|
+
classModifiers: classModifiers,
|
|
167
|
+
className: className
|
|
165
168
|
}));
|
|
166
169
|
};
|
|
167
170
|
var getTime = function getTime(config) {
|