@sunggang/ui-lib 0.3.14 → 0.3.16
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/index.esm2.js +1 -2
- package/package.json +1 -1
package/index.esm2.js
CHANGED
|
@@ -77264,7 +77264,7 @@ var TextField = function(param) {
|
|
|
77264
77264
|
var SingleSelect = function(param) {
|
|
77265
77265
|
var item = param.item;
|
|
77266
77266
|
var _item_option;
|
|
77267
|
-
var _useFormContext = useFormContext(), register = _useFormContext.register,
|
|
77267
|
+
var _useFormContext = useFormContext(), register = _useFormContext.register, errors = _useFormContext.formState.errors;
|
|
77268
77268
|
return /*#__PURE__*/ jsx("div", {
|
|
77269
77269
|
className: [
|
|
77270
77270
|
(item === null || item === void 0 ? void 0 : item.className) || "w-full h-24"
|
|
@@ -77292,7 +77292,6 @@ var SingleSelect = function(param) {
|
|
|
77292
77292
|
].join(" "),
|
|
77293
77293
|
style: item.style
|
|
77294
77294
|
}, register(item.name, _object_spread({}, item === null || item === void 0 ? void 0 : item.validateOption))), {
|
|
77295
|
-
defaultValue: getValues(item.name),
|
|
77296
77295
|
id: item === null || item === void 0 ? void 0 : item.id,
|
|
77297
77296
|
disabled: (item === null || item === void 0 ? void 0 : item.disable) || (item === null || item === void 0 ? void 0 : item.disabled),
|
|
77298
77297
|
children: item === null || item === void 0 ? void 0 : (_item_option = item.option) === null || _item_option === void 0 ? void 0 : _item_option.map(function(group) {
|