|
@@ -202,7 +202,14 @@ const ColorInput = React.forwardRef(
|
202
|
202
|
ref,
|
203
|
203
|
) => {
|
204
|
204
|
// console.log("ColorInput 0")
|
205
|
|
- console.log("dev ColorInput 0",window.indexLoadedTime,document.readyState)
|
|
205
|
+ if (document.readyState!="complete" && window.tmp_hooks){
|
|
206
|
+ tmp_hooks.ColorInput_args={
|
|
207
|
+ color,
|
|
208
|
+onChange,
|
|
209
|
+label,
|
|
210
|
+ }
|
|
211
|
+ }
|
|
212
|
+ // console.log("dev ColorInput 0",window.indexLoadedTime,document.readyState)
|
206
|
213
|
const [innerValue, setInnerValue] = React.useState(color);
|
207
|
214
|
const inputRef = React.useRef(null);
|
208
|
215
|
|