EasyUI Forum

General Category => EasyUI for React => Topic started by: chrwei on August 10, 2020, 09:38:23 AM



Title: DateBox text not applying
Post by: chrwei on August 10, 2020, 09:38:23 AM
currentText and closeText mentioned in the documentation have no effect.

Code:
import React from 'react';
import './App.css';
import { DateBox } from 'rc-easyui';

function App() {
    return (
        <div className="App">
            <DateBox editable={false} format="yyyy/MM/dd"
                currentText="El Hoy"
                closeText="Cerrar"
            />
        </div>
    );
}
export default App;


Title: Re: DateBox text not applying
Post by: jarry on August 13, 2020, 02:48:21 AM
Please try to update to the newest version.


Title: Re: DateBox text not applying
Post by: chrwei on August 14, 2020, 07:21:35 AM
perfect.  thanks.