Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modelFormatter.getClearData #2

Open
jikook71 opened this issue May 5, 2017 · 2 comments
Open

modelFormatter.getClearData #2

jikook71 opened this issue May 5, 2017 · 2 comments

Comments

@jikook71
Copy link

jikook71 commented May 5, 2017

data-ax5formatter="date" 경우 초기화가 안되고 있는거 같습니다.

@thomasJang
Copy link
Member

재현이 어렵습니다. 따로 코드를 받아봐야 되겠습니다. 연휴 잘 보내세요

@thomasJang
Copy link
Member

axboot 쪽에 이슈같은데요.

axboot.modelFormatter.clearProcessor = {
    "money": function (_v) {
        return ("" + _v).replace(/\D/g, "");
    },
    "number": function (_v) {
        return ("" + _v).replace(/\D/g, "");
    },
    "date": function (_v) {
        return ax5.util.date(("" + _v), {"return": 'yyyy-MM-dd'});
    },
    "time": function (_v) {
        return ("" + _v).replace(/\D/g, "");
    },
    "bizno": function (_v) {
        return ("" + _v).replace(/\D/g, "");
    },
    "phone": function (_v) {
        return ("" + _v).replace(/\D/g, "");
    },
    "customPattern": function (_v) {
        return _v;
    }
};

에서 클리어포멧을 관리합니다. 이 부분을 확인하세요

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants