@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.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 {