Răsfoiți Sursa

reset button fix

Steven Fukase 4 ani în urmă
părinte
comite
1b96beb72f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/client/js/components/PagePathAutoComplete.jsx

+ 1 - 1
src/client/js/components/PagePathAutoComplete.jsx

@@ -41,7 +41,7 @@ const PagePathAutoComplete = (props) => {
       onChange={inputChangeHandler}
       onChange={inputChangeHandler}
       onInputChange={props.onInputChange}
       onInputChange={props.onInputChange}
       inputName="new_path"
       inputName="new_path"
-      emptyLabelExceptError={null}
+      behaviorOfResetBtn="clear"
       placeholder="Input page path"
       placeholder="Input page path"
       keywordOnInit={getKeywordOnInit(initializedPath)}
       keywordOnInit={getKeywordOnInit(initializedPath)}
       autoFocus={props.autoFocus}
       autoFocus={props.autoFocus}