gd-sprest-bs 10.1.4 → 10.1.7
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.
- package/build/components/listForm/index.js +4 -3
- package/dist/gd-sprest-bs-icons.js +1 -1
- package/dist/gd-sprest-bs-icons.js.LICENSE.txt +84 -80
- package/dist/gd-sprest-bs-icons.min.js +1 -1
- package/dist/gd-sprest-bs.js +1 -1
- package/dist/gd-sprest-bs.js.LICENSE.txt +1 -1
- package/dist/gd-sprest-bs.min.js +1 -1
- package/package.json +3 -3
- package/pnpm-lock.yaml +9 -9
- package/src/components/listForm/index.ts +5 -3
|
@@ -157,12 +157,13 @@ var renderDisplay = function (fieldName, props) {
|
|
|
157
157
|
}
|
|
158
158
|
// Detect html
|
|
159
159
|
if (/<*>/g.test(html)) {
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
var isMultiLine = html.indexOf("<br />") >= 0 ? true : false;
|
|
161
|
+
// Ensure this isn't a rich text field or multi-line
|
|
162
|
+
if (!isRichText || !isMultiLine) {
|
|
162
163
|
// Update the control to be read-only
|
|
163
164
|
control.type = core_1.Components.FormControlTypes.Readonly;
|
|
164
165
|
// Set the rendered event
|
|
165
|
-
control.onControlRendered =
|
|
166
|
+
control.onControlRendered = function (control) {
|
|
166
167
|
// Get the target element
|
|
167
168
|
var elTarget = control.el.querySelector("input") || control.el;
|
|
168
169
|
// Override the html rendered
|