@secondstaxorg/sscomp 2.0.18 → 2.0.19
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/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23532,7 +23532,7 @@ const TextField = (props) => {
|
|
|
23532
23532
|
}, [cursorPos,textFieldRef,value]);
|
|
23533
23533
|
|
|
23534
23534
|
function validate(){
|
|
23535
|
-
if (value || textFieldRef.current.value){
|
|
23535
|
+
if ((value && (value ).length > 0) || textFieldRef.current.value.length > 0){
|
|
23536
23536
|
setBorderColor('success');
|
|
23537
23537
|
setErr(false);
|
|
23538
23538
|
}else {
|